1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-19 02:47:06 +00:00

Ticket #7: Silence compiler warnings for unused variables

This commit is contained in:
Harald Oehlmann
2016-01-05 10:10:52 +01:00
parent c120ca49dd
commit 4c9570176b

View File

@@ -765,14 +765,16 @@ int evaluate(unsigned char *grid, int size, int pattern)
{ {
int x, y, block; int x, y, block;
int result = 0; int result = 0;
int result_b = 0;
char state; char state;
int p; int p;
int dark_mods; int dark_mods;
int percentage, k, k2; int percentage, k, k2;
char str[15];
int m; int m;
int smallest; int smallest;
#ifdef ZINTLOG
int result_b = 0;
char str[15];
#endif
#ifndef _MSC_VER #ifndef _MSC_VER
char local[size * size]; char local[size * size];