Project

General

Profile

Actions

Bug #8762

closed

syslogd: variable 'prev' set but not used

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

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

100%

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

Description

Debug build issue with gcc 6:

    ../list.c:108:9: error: variable 'prev' set but not used [-Werror=unused-but-set-variable]
      ll_t **prev = &head->front;
             ^~~~
    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 61d32c33314163cd44fd93c77f2606de94baee81

commit  61d32c33314163cd44fd93c77f2606de94baee81
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-29T00:05:19.000Z

    8762 syslogd: variable 'prev' set but not used
    Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net>
    Reviewed by: C Fraire <cfraire@me.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF