Project

General

Profile

Actions

Bug #8855

closed

libnsl: variable 'p' set but not used

Added by Toomas Soome almost 4 years ago. Updated almost 4 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:

Description

Debug build error from gcc 6:

    ../key/publickey.c: In function '__getpublickey_flush_g':
    ../key/publickey.c:538:8: error: variable 'p' set but not used [-Werror=unused-but-set-variable]
      char *p, hashname[MAXNETNAMELEN+1];
            ^
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk almost 4 years ago

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

git commit a71e11eee4676204c7609c4c9703cc98fbf4669d

commit  a71e11eee4676204c7609c4c9703cc98fbf4669d
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-27T16:21:48.000Z

    8855 libnsl: variable 'p' set but not used
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF