not likely to get fixed

This commit is contained in:
Enno Rehling 2016-10-09 10:01:31 +02:00
parent f65bd3b079
commit 3d191b6573
1 changed files with 2 additions and 2 deletions

View File

@ -690,7 +690,7 @@ static const char * relpath(char *buf, size_t sz, const char *path) {
static const char *g_datadir;
const char *datapath(void)
{
static char zText[MAX_PATH]; // FIXME: static return value
static char zText[MAX_PATH];
if (g_datadir)
return g_datadir;
return relpath(zText, sizeof(zText), "data");
@ -704,7 +704,7 @@ void set_datapath(const char *path)
static const char *g_reportdir;
const char *reportpath(void)
{
static char zText[MAX_PATH]; // FIXME: static return value
static char zText[MAX_PATH];
if (g_reportdir)
return g_reportdir;
return relpath(zText, sizeof(zText), "reports");