summaryrefslogtreecommitdiff
path: root/test cases/windows/4 winmaincpp/prog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/windows/4 winmaincpp/prog.cpp')
-rw-r--r--test cases/windows/4 winmaincpp/prog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/windows/4 winmaincpp/prog.cpp b/test cases/windows/4 winmaincpp/prog.cpp
index aeecb7b82..618225771 100644
--- a/test cases/windows/4 winmaincpp/prog.cpp
+++ b/test cases/windows/4 winmaincpp/prog.cpp
@@ -8,5 +8,10 @@ WinMain(
HINSTANCE hPrevInstance,
LPSTR lpszCmdLine,
int nCmdShow) {
+// avoid unused argument error while matching template
+ ((void)hInstance);
+ ((void)hPrevInstance);
+ ((void)lpszCmdLine);
+ ((void)nCmdShow);
return 0;
}