Project

General

Profile

Bug #7774

build failed after 6923 : ipadm.c:510:10: error: variable 'object' set but not used [-Werror=unused-but-set-variable]

Added by Igor Kozhukhov almost 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2017-01-15
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

i have gcc5 and build failed after update
'6923 ipadm show-prop output is ugly when property doesn't exist'
with error in mail_msg:

ipadm.c:510:10: error: variable 'object' set but not used [-Werror=unused-but-set-variable]

History

#1

Updated by Igor Kozhukhov almost 3 years ago

  • Subject changed from build failed ipadm.c:510:10: error: variable 'object' set but not used [-Werror=unused-but-set-variable] to build failed after 6923 : ipadm.c:510:10: error: variable 'object' set but not used [-Werror=unused-but-set-variable]
  • Description updated (diff)
#2

Updated by Toomas Soome over 1 year ago

  • Status changed from New to Closed

fixed in:
8485 Remove set but unused variables in usr/src/cmd

Also available in: Atom PDF