Project

General

Profile

Bug #13229

scadm: this 'if' clause does not guard...

Added by Toomas Soome 12 days ago. Updated 12 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build error on sparc:

    common/show.c: In function 'ADM_Process_show_network':
    common/show.c:110:2: error: this 'if' clause does not guard... [-Werror=misleadi
    ng-indentation]
      if (strcmp(netParams->ipMode, "dhcp") == 0)
      ^~
    common/show.c:113:3: note: ...this statement, but the latter is misleadingly ind
    ented as if it were guarded by the 'if'
       (void) printf("%s %s\r\n", gettext("IP Address:"),
       ^
    cc1: all warnings being treated as errors

#1

Updated by Electric Monk 12 days ago

  • Gerrit CR set to 982

Also available in: Atom PDF