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:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user