mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Ticket #7: Silence compiler warnings for unused variables
This commit is contained in:
parent
c120ca49dd
commit
4c9570176b
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user