Project

General

Profile

Bug #7991

vi: misleading-indentation

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2017-03-21
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

ex_temp.c: In function 'synctmp':
ex_temp.c:396:3: error: this 'while' clause does not guard... [-Werror=misleading-indentation]
while (n--)
^~~
ex_temp.c:398:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
if (run_crypt(0L, crbuf, CRSIZE, tperm) == -1)
^~
cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk almost 3 years ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit d33da75dca1b7a9099274b822ffb7cf3445ba98c

commit  d33da75dca1b7a9099274b822ffb7cf3445ba98c
Author: Toomas Soome <tsoome@me.com>
Date:   2017-03-31T17:07:04.000Z

    7991 vi: misleading-indentation
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Also available in: Atom PDF