summaryrefslogtreecommitdiff
path: root/hw/xwin/winprocarg.c
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2015-04-28 13:50:22 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2018-05-13 18:21:59 +0100
commit5f97dcdd195e55cc06e580ed3ad882efb3c05e7b (patch)
treeacdc2c9c1b757c44567b3a4d5a1ef96c2f67aecf /hw/xwin/winprocarg.c
parentb06df5c50e334c0a9dd3e05fcdbc16882262ae66 (diff)
Separate logfile name format and logfile name
If OsVendorFatalError is called before logfile name has been formatted g_pszLogFile still contains a %s. Use a separate g_pszLogFileFormat and g_pszLogFile, so g_pszLogFile is NULL until the logfile name has been generated. This makes g_fLogFileChanged obsolete, so remove it. Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Diffstat (limited to 'hw/xwin/winprocarg.c')
-rw-r--r--hw/xwin/winprocarg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/xwin/winprocarg.c b/hw/xwin/winprocarg.c
index b6ebb0730..50c6bd1f1 100644
--- a/hw/xwin/winprocarg.c
+++ b/hw/xwin/winprocarg.c
@@ -996,9 +996,6 @@ ddxProcessArgument(int argc, char *argv[], int i)
if (IS_OPTION("-logfile")) {
CHECK_ARGS(1);
g_pszLogFile = argv[++i];
-#ifdef RELOCATE_PROJECTROOT
- g_fLogFileChanged = TRUE;
-#endif
return 2;
}