The version_time variable is itself const. I.e., constant pointer to constant data.
This commit is contained in:
@@ -843,7 +843,7 @@ static void MountTreeOfZips( const RString &dir )
|
|||||||
|
|
||||||
#if defined(HAVE_VERSION_INFO)
|
#if defined(HAVE_VERSION_INFO)
|
||||||
extern unsigned long version_num;
|
extern unsigned long version_num;
|
||||||
extern const char *version_time;
|
extern const char *const version_time;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void WriteLogHeader()
|
static void WriteLogHeader()
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#if defined(HAVE_VERSION_INFO)
|
#if defined(HAVE_VERSION_INFO)
|
||||||
extern const unsigned long version_num;
|
extern const unsigned long version_num;
|
||||||
extern const char *version_time;
|
extern const char *const version_time;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char *g_pCrashHandlerArgv0 = NULL;
|
const char *g_pCrashHandlerArgv0 = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user