Skip to content

Commit

Permalink
Fix new LGTM alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisHeimbigner committed Dec 24, 2021
1 parent 1397c34 commit 43f2e51
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion libdispatch/dpathmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,5 @@ report(int stat, const char* msg, int line)
if(stat) {
nclog(NCLOGERR,"NCpathcvt(%d): %s: stat=%d (%s)",
line,msg,stat,nc_strerror(stat));
ncbreakpoint(stat);
}
}
2 changes: 1 addition & 1 deletion ncdump/ncpathcvt.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ main(int argc, char** argv)
case 'u': cvtoptions.target = NCPD_NIX; break;
case 'w': cvtoptions.target = NCPD_WIN; break;
case 'B':
cvtoptions.blank = optarg[0]; break;
cvtoptions.blank = optarg[0];
if(cvtoptions.blank < ' ' || cvtoptions.blank == '\177')
usage("Bad -B argument");
break;
Expand Down

0 comments on commit 43f2e51

Please sign in to comment.