From 8c8b1492369fb0e0ea39e0e0e852e93c37ffce97 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sun, 16 Jan 2011 07:18:06 +0000 Subject: [PATCH] Fix a few warnings in the reporter Originally committed to SVN as r5219. --- aegisub/reporter/main.cpp | 8 ++++---- aegisub/src/video_context.cpp | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/aegisub/reporter/main.cpp b/aegisub/reporter/main.cpp index af040e23c..e2e51bef1 100644 --- a/aegisub/reporter/main.cpp +++ b/aegisub/reporter/main.cpp @@ -51,11 +51,11 @@ bool Reporter::OnInit() { static const wxCmdLineEntryDesc cmdLineDesc[] = { - { wxCMD_LINE_SWITCH, "c", "crash", "Launch in crash mode.", wxCMD_LINE_VAL_NONE, NULL }, - { wxCMD_LINE_SWITCH, "r", "report", "Launch in Report mode.", wxCMD_LINE_VAL_NONE, NULL }, - { wxCMD_LINE_SWITCH, "j", "json", "Dump JSON file", wxCMD_LINE_VAL_NONE, NULL }, + { wxCMD_LINE_SWITCH, "c", "crash", "Launch in crash mode.", wxCMD_LINE_VAL_NONE, 0 }, + { wxCMD_LINE_SWITCH, "r", "report", "Launch in Report mode.", wxCMD_LINE_VAL_NONE, 0 }, + { wxCMD_LINE_SWITCH, "j", "json", "Dump JSON file", wxCMD_LINE_VAL_NONE, 0 }, { wxCMD_LINE_SWITCH, "h", "help", "This help message", wxCMD_LINE_VAL_NONE, wxCMD_LINE_OPTION_HELP }, - { wxCMD_LINE_NONE, NULL, NULL, NULL, wxCMD_LINE_VAL_NONE, NULL} + { wxCMD_LINE_NONE, NULL, NULL, NULL, wxCMD_LINE_VAL_NONE, 0 } }; diff --git a/aegisub/src/video_context.cpp b/aegisub/src/video_context.cpp index 9cbff7cdc..4c5c5a497 100644 --- a/aegisub/src/video_context.cpp +++ b/aegisub/src/video_context.cpp @@ -43,6 +43,7 @@ #include #include #include +#include #endif #ifdef __APPLE__