Project

General

Profile

Actions

Bug #8850

closed

libresolv2: variable 'tvp' set but not used

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

../common/isc/eventlib.c: In function 'Pselect':
../common/isc/eventlib.c:740:22: error: variable 'tvp' set but not used [-Werror=unused-but-set-variable]
  struct timeval tv, *tvp;
                      ^~~
cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk over 4 years ago

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

git commit 6e0609600611b03dde9cde82799da6d7b40d14be

commit  6e0609600611b03dde9cde82799da6d7b40d14be
Author: Toomas Soome <tsoome@me.com>
Date:   2017-12-11T15:21:54.000Z

    8850 libresolv2: variable 'tvp' set but not used
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Reviewed by: Gary Mills <gary_mills@fastmail.fm>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF