Explicitly set values of enum stats since they are important

This commit is contained in:
Joel Rosdahl 2010-08-04 10:39:02 +02:00
parent 52c4606d2c
commit 01fa3dfbf4

View File

@ -26,31 +26,31 @@ extern const char CCACHE_VERSION[];
/* statistics fields in storage order */
enum stats {
STATS_NONE = 0,
STATS_STDOUT,
STATS_STATUS,
STATS_ERROR,
STATS_TOCACHE,
STATS_PREPROCESSOR,
STATS_COMPILER,
STATS_MISSING,
STATS_CACHEHIT_CPP,
STATS_ARGS,
STATS_LINK,
STATS_NUMFILES,
STATS_TOTALSIZE,
STATS_MAXFILES,
STATS_MAXSIZE,
STATS_SOURCELANG,
STATS_DEVICE,
STATS_NOINPUT,
STATS_MULTIPLE,
STATS_CONFTEST,
STATS_UNSUPPORTED,
STATS_OUTSTDOUT,
STATS_CACHEHIT_DIR,
STATS_NOOUTPUT,
STATS_EMPTYOUTPUT,
STATS_BADEXTRAFILE,
STATS_STDOUT = 1,
STATS_STATUS = 2,
STATS_ERROR = 3,
STATS_TOCACHE = 4,
STATS_PREPROCESSOR = 5,
STATS_COMPILER = 6,
STATS_MISSING = 7,
STATS_CACHEHIT_CPP = 8,
STATS_ARGS = 9,
STATS_LINK = 10,
STATS_NUMFILES = 11,
STATS_TOTALSIZE = 12,
STATS_MAXFILES = 13,
STATS_MAXSIZE = 14,
STATS_SOURCELANG = 15,
STATS_DEVICE = 16,
STATS_NOINPUT = 17,
STATS_MULTIPLE = 18,
STATS_CONFTEST = 19,
STATS_UNSUPPORTED = 20,
STATS_OUTSTDOUT = 21,
STATS_CACHEHIT_DIR = 22,
STATS_NOOUTPUT = 23,
STATS_EMPTYOUTPUT = 24,
STATS_BADEXTRAFILE = 25,
STATS_END
};