"vscode:/vscode.git/clone" did not exist on "cf4700bda4929d8d952df16bdd3ca73019d15249"
Fix issues raised by clang analyzer
Modified by @antirez since the original fix to genInfoString() looked weak. Probably the clang analyzer complained about `section` being possibly NULL, and strcasecmp() called with a NULL pointer. In the practice this can never happen, still for the sake of correctness the right fix is not to modify only the first call, but to set `section` to the value of "default" if it happens to be NULL. Closes #1660
Please register or sign in to comment