Quick note on BDFL-approved style for C code. I recently changed a line in gcmodule.c from static int debug; to static int debug = 0; The change is redundant, as several people pointed out, because the C std requires debug to be initialized to 0. I didn't realize this. Inadvertently, however, I made the right change. The preferred style is to be explicit about initialization if other code depends on or assumes that it is initialized to a particular value -- even if that value is 0. If the code is guaranteed to do an assignment of its own before the first use, it's okay to omit the initialization with the decl. Jeremy
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4