codeql icon indicating copy to clipboard operation
codeql copied to clipboard

C++: Static variables are initialized to zero or null by compiler

Open codeqlhelper opened this issue 1 year ago • 0 comments

Static variables are initialized to zero or null by compiler, no need to get an initializer of them. See https://stackoverflow.com/questions/13251083/the-initialization-of-static-variables-in-c See 6.7.8/10 in the C99 Standard

codeqlhelper avatar May 19 '24 13:05 codeqlhelper