Project

General

Profile

Actions

Bug #8853

closed

libsocket: variable 'addr' set but not used

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

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

100%

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

Description

Debug build error from gcc 6:

    ../inet/getnameinfo.c: In function 'getzonestr':
    ../inet/getnameinfo.c:315:20: error: variable 'addr' set but not used [-Werror=unused-but-set-variable]
      const in6_addr_t *addr;
                        ^~~~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk almost 5 years ago

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

git commit 4432e6b4ec7a3cb1a2915b65a8daae5faa278ba0

commit  4432e6b4ec7a3cb1a2915b65a8daae5faa278ba0
Author: Toomas Soome <tsoome@me.com>
Date:   2017-12-03T20:49:24.000Z

    8853 libsocket: variable 'addr' set but not used
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Gordon Ross <gwr@nexenta.com>

Actions

Also available in: Atom PDF