ralphlange / procServ

Wrapper to start arbitrary interactive commands in the background, with telnet or Unix domain socket access to stdin/stdout
GNU General Public License v3.0
23 stars 23 forks source link

procServ.cc:452] -> [procServ.cc:453]: (warning) Opposite inner 'if' condition leads to a dead code block. #18

Closed dcb314 closed 6 years ago

dcb314 commented 6 years ago
if (!stampFormat) {
    if (stampFormat) {

Surprising code. Suggest code rework.

ralphlange commented 6 years ago

Well, let's say I am not surprised... Thanks for pointing this out.