properly setting the C version

This commit is contained in:
Marc
2022-10-04 14:21:58 +02:00
parent c223d149f4
commit c276e18282
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -41,3 +41,5 @@ target_link_libraries(ModManager ${LIBXML_LIBRARIES})
target_link_libraries(ModManager ${AUDIT_LIBRARIES})
install(TARGETS ModManager DESTINATION bin)
set_property(TARGET ModManager PROPERTY C_STANDARD 23)
+1 -1
View File
@@ -90,7 +90,7 @@ int validateAppId(const char * appIdStr) {
return (int)appid;
}
int listGames(int argc, char ** argv) {
int listGames(int argc, char **) {
if(argc != 2) return usage();
GList * gamesIds = g_hash_table_get_keys(gamePaths);
GList * gamesIdsFirstPointer = gamesIds;