Skip to content

Commit 915935b

Browse files
committed
fix compile error
1 parent bba9da6 commit 915935b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

myframe/common.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,10 @@ int Common::SetProcessPriority(ProcessPriority pp) {
254254
}
255255
return 0;
256256
#elif defined(MYFRAME_OS_MACOSX)
257+
(void)pp;
257258
return 0;
258259
#else
260+
(void)pp;
259261
return 0;
260262
#endif
261263
}
@@ -281,8 +283,12 @@ int Common::SetThreadPriority(std::thread* t, ThreadPriority tp) {
281283
}
282284
return 0;
283285
#elif defined(MYFRAME_OS_MACOSX)
286+
(void)t;
287+
(void)tp;
284288
return 0;
285289
#else
290+
(void)t;
291+
(void)tp;
286292
return 0;
287293
#endif
288294
}

0 commit comments

Comments
 (0)