1
0
Fork 0
mirror of https://github.com/ErikAndren/cue2pops-mac.git synced 2025-04-20 07:58:05 +02:00

Constify variables that are set at compile time

This commit is contained in:
Erik Andrén Zachrisson 2015-11-01 11:44:03 +01:00
parent cddc4323b1
commit 80d36074c8

View file

@ -11,12 +11,12 @@
#include <time.h>
#ifdef DEBUG
int debug = 1;
const int debug = 1;
#else
int debug = 0;
const int debug = 0;
#endif
int batch = 0; // Else than zero, user prompt is disabled and CDRWIN image fix is ENABLED. Doesn't halt on anything. Suitable for batch execution.
const int batch = 0; // Else than zero, user prompt is disabled and CDRWIN image fix is ENABLED. Doesn't halt on anything. Suitable for batch execution.
FILE *file, *bin_file; //file is used for opening the input cue and the output file, bin_file is used for opening the BIN that's attached to the cue.
char *bin_path; // name/path of the BIN that is attached to the cue. Handled by the parser then altered if it doesn't contain the full path.