X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=gmqcc.ini.example;h=5c1ad3777a8c999ad7815492da0fec9f0ba3d927;hp=59a27f9a2091476bd7882b41e9bb0984774d7d4f;hb=def1a26b12ffdec8f8e09fb9c41459ad30f573d3;hpb=ac8c7d730a7d0728facbdddea984a631037055aa diff --git a/gmqcc.ini.example b/gmqcc.ini.example index 59a27f9..5c1ad37 100644 --- a/gmqcc.ini.example +++ b/gmqcc.ini.example @@ -348,7 +348,7 @@ [warnings] #Generate a warning about variables which are declared but never - #used. This can be avoided by adding the ‘noref’ keyword in front + #used. This can be avoided by adding the ‘noref’ keyword in front #of the variable declaration. Additionally a complete section of #unreferenced variables can be opened using ‘#pragma noref 1’ and #closed via ‘#pragma noref 0’. @@ -356,6 +356,11 @@ UNUSED_VARIABLE = false + #Generate a warning about vector variables which are declared but + #components of it are never used. + + UNUSED_COMPONENT = false + #Generate a warning if it is possible that a variable can be used #without prior initialization. Note that this warning is not nec‐ #essarily reliable if the initialization happens only under cer‐