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