Revert "fix previously-hidden cppcheck warnings in osfcheck.cc"
Revert "fix previously-hidden cppcheck warnings in osfcheck.cc"

This reverts commit 8373e1bf41051b8381c99e9fa05212cd70096f80.

seanchas116/electron,electron/electron,electron/electron,bpasero/electron,electron/electron,bpasero/electron,shiftkey/electron,shiftkey/electron,seanchas116/electron,the-ress/electron,shiftkey/electron,seanchas116/electron,electron/electron,the-ress/electron,Floato/electron,seanchas116/electron,shiftkey/electron,gerhardberger/electron,seanchas116/electron,gerhardberger/electron,Floato/electron,bpasero/electron,the-ress/electron,shiftkey/electron,Floato/electron,gerhardberger/electron,bpasero/electron,the-ress/electron,shiftkey/electron,Floato/electron,gerhardberger/electron,bpasero/electron,electron/electron,seanchas116/electron,bpasero/electron,the-ress/electron,Floato/electron,the-ress/electron,Floato/electron,gerhardberger/electron,the-ress/electron,electron/electron,bpasero/electron,gerhardberger/electron,gerhardberger/electron,electron/electron