Actions
Bug #8189
closeddns-sd: misleading-indentation
Start date:
2017-05-10
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
Build with gcc 6:
dns-sd.c: In function 'addrinfo_reply': dns-sd.c:1157:9: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (!if_indextoname(s6->sin6_scope_id, if_name)) ^~ dns-sd.c:1159:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' snprintf(addr, sizeof(addr), "%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X%%%s", ^~~~~~~~ cc1: all warnings being treated as errors *** Error code 1
Updated by Electric Monk about 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 985cc36c07a787e0cb720fcf2fab565aa2a77590
commit 985cc36c07a787e0cb720fcf2fab565aa2a77590 Author: Toomas Soome <tsoome@me.com> Date: 2017-05-11T16:16:34.000Z 8189 dns-sd: misleading-indentation Reviewed by: Yuri Pankov <yuri.pankov@gmail.com> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Richard Lowe <richlowe@richlowe.net>
Actions