Project

General

Profile

Bug #7873

libgss: misleading-indentation error

Added by Toomas Soome about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-02-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

../g_dup_name.c:144:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
    if (dest_union->external_name->value)
    ^~
../g_dup_name.c:146:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     free(dest_union->external_name);
     ^~~~

History

#1

Updated by Marcel Telka about 3 years ago

  • Description updated (diff)
#2

Updated by Electric Monk about 3 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit dd99db614c0cbef3e771c1ebb062be1c97813d6b

commit  dd99db614c0cbef3e771c1ebb062be1c97813d6b
Author: Toomas Soome <tsoome@me.com>
Date:   2017-03-10T22:26:59.000Z

    7873 libgss: misleading-indentation error
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF