Project

General

Profile

Actions

Bug #8844

closed

libdns_sd: variable 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:

    ../common/dnssd_clientstub.c: In function 'FreeDNSServiceOp':
    ../common/dnssd_clientstub.c:411:30: error: variable 'op_were_not_going_to_free_but_we_need_to_fool_the_analyzer' set but not used [-Werror=unused-but-set-variable]
             static DNSServiceOp *op_were_not_going_to_free_but_we_need_to_fool_the_analyzer;
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    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 712a34becd0c378dd87ef9106ed5275739e2521a

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

    8844 libdns_sd: variable set but not used
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Gary Mills <gary_mills@fastmail.fm>
    Approved by: Gordon Ross <gwr@nexenta.com>

Actions

Also available in: Atom PDF