1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-09-05 02:32:18 +00:00

Fix build warning about KL_SCRYPT when built without scrypt support.

This commit is contained in:
Con Kolivas 2012-07-30 14:03:15 +10:00
parent 2353233d18
commit 7a07c7d04c

View File

@ -2903,11 +2903,9 @@ void write_config(FILE *fcfg)
case KL_DIABLO: case KL_DIABLO:
fprintf(fcfg, "diablo"); fprintf(fcfg, "diablo");
break; break;
#ifdef USE_SCRYPT
case KL_SCRYPT: case KL_SCRYPT:
fprintf(fcfg, "scrypt"); fprintf(fcfg, "scrypt");
break; break;
#endif
} }
} }
#ifdef HAVE_ADL #ifdef HAVE_ADL