Browse Source

Fix build warning about KL_SCRYPT when built without scrypt support.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
7a07c7d04c
  1. 2
      cgminer.c

2
cgminer.c

@ -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

Loading…
Cancel
Save