Project

General

Profile

Actions

Bug #8738

closed

svc/configd: variable 'event_id' 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-10-27
Due date:
% Done:

100%

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

Description

Debug build error with gcc 6:

    rc_node.c: In function 'rc_node_delete':
    rc_node.c:4707:13: error: variable 'event_id' set but not used [-Werror=unused-but-set-variable]
      au_event_t event_id = 0;
                 ^~~~~~~~
    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 8063daa8c67e88054aa1d9d03e26ac15601f6a5d

commit  8063daa8c67e88054aa1d9d03e26ac15601f6a5d
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-20T15:14:42.000Z

    8738 svc/configd: variable 'event_id' set but not used
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF