]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove a few dangling semicolons
authorterencehill <piuntn@gmail.com>
Wed, 7 Feb 2024 21:53:39 +0000 (22:53 +0100)
committerterencehill <piuntn@gmail.com>
Wed, 7 Feb 2024 23:03:52 +0000 (00:03 +0100)
qcsrc/common/mapinfo.qh
qcsrc/common/notifications/all.qh
qcsrc/common/resources/resources.qh
qcsrc/common/scores.qh
qcsrc/lib/registry.qh

index 952274a73aaf0fe584a47cf2f2583478345abe8c..b8eefcea3a6f163a6f365f65d0a6c4ef3535c603 100644 (file)
@@ -123,7 +123,7 @@ ENDCLASS(Gametype)
 
 REGISTRY(Gametypes, 32)
 REGISTER_REGISTRY(Gametypes)
-REGISTRY_SORT(Gametypes);
+REGISTRY_SORT(Gametypes)
 REGISTRY_CHECK(Gametypes)
 
 REGISTRY_DEFINE_GET(Gametypes, NULL)
index 00bd94bb740066bc03810210ece3d6238d895da8..f4c25968cc2bf3154b7bd2643c4403ad946b0055 100644 (file)
@@ -714,7 +714,7 @@ string notif_arg_item_wepammo(float f1, float f2)
 
 REGISTRY(Notifications, BITS(11))
 REGISTER_REGISTRY(Notifications)
-REGISTRY_SORT(Notifications);
+REGISTRY_SORT(Notifications)
 
 REGISTRY_DEFINE_GET(Notifications, NULL)
 STATIC_INIT(Notifications) { FOREACH(Notifications, true, it.m_id = i); }
index fa7ce8b73bf448e928a254fb1f62e687d581e0fc..28ad1f82adb628e128887661a1ddf191f346a034 100644 (file)
@@ -49,8 +49,8 @@ STATIC_INIT(default_order_resources)
 }
 #endif
 
-REGISTRY_SORT(Resources);
-REGISTRY_CHECK(Resources);
+REGISTRY_SORT(Resources)
+REGISTRY_CHECK(Resources)
 
 REGISTRY_DEFINE_GET(Resources, NULL)
 STATIC_INIT(Resources_renumber) { FOREACH(Resources, true, it.m_id = i); }
index 8a01893f1019c423927029d57b004baa8f66b88c..8f22b5c7525bcea5c80f01d594c9fc38a11660a7 100644 (file)
@@ -3,11 +3,11 @@
 #define MAX_SCORE 64
 
 #define REGISTER_SP(id) REGISTER(Scores, SP, id, m_id, new_pure(PlayerScoreField))
-REGISTRY(Scores, MAX_SCORE);
+REGISTRY(Scores, MAX_SCORE)
 REGISTER_REGISTRY(Scores)
 // do not sort alphabetically, player sort priority is based on score registration order
-//REGISTRY_SORT(Scores);
-REGISTRY_CHECK(Scores);
+//REGISTRY_SORT(Scores)
+REGISTRY_CHECK(Scores)
 
 REGISTRY_DEFINE_GET(Scores, NULL)
 STATIC_INIT(Scores_renumber) { FOREACH(Scores, true, it.m_id = i); }
index 5d36e1a3936b559d65675562ed1a17c69c7d427a..be67847a446e63a692d70e6ae4c50a75674eaafd 100644 (file)
@@ -200,7 +200,7 @@ void Registry_send(string id, string hash);
                string h = REGISTRY_HASH(id) = strzone(digest_hex("MD4", s)); \
                LOG_DEBUGF(#id ": %s\n[%s]", h, s); \
        } \
-       void Registry_check(string r, string sv) \
+       void Registry_check(string r, string sv) /* called by CSQC */ \
        { \
                if (r == #id) \
                { \
@@ -211,7 +211,7 @@ void Registry_send(string id, string hash);
                        } \
                } \
        } \
-       void Registry_send_all() { Registry_send(#id, REGISTRY_HASH(id)); } \
+       void Registry_send_all() { Registry_send(#id, REGISTRY_HASH(id)); } /* called by SVQC */ \
 
 #define _REGISTER_REGISTRY(id, str) \
        ACCUMULATE_FUNCTION(__static_init_1, Register##id) \