Project

General

Profile

Actions

Bug #7873

closed

libgss: misleading-indentation error

Added by Toomas Soome over 6 years ago. Updated about 6 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:
Gerrit CR:
External Bug:

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);
     ^~~~
Actions #1

Updated by Marcel Telka over 6 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk about 6 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>

Actions

Also available in: Atom PDF