Project

General

Profile

Bug #3244

utmpd.c: fix uninitialized variable, ret_val and other gcc warnings

Added by Igor Pashev over 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2012-09-30
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

utmpd.c: In function 'wait_for_pids':
utmpd.c:406:5: error: 'ret_val' may be used uninitialized in this function [-Werror=uninitialized]

http://src.illumos.org/source/xref/illumos-gate/usr/src/cmd/utmpd/utmpd.c#406


Files

History

#2

Updated by Shruti Sampat over 4 years ago

  • Assignee set to Shruti Sampat
#3

Updated by Shruti Sampat over 4 years ago

  • Subject changed from utmpd.c: 'ret_val' may be used uninitialized to utmpd.c: fix uninitialized variable, ret_val and other gcc warnings
  • Status changed from New to In Progress
#4

Updated by Electric Monk about 4 years ago

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

git commit fd64a0d03455fdb3bbf710e77f2a2f6d08d3cf6c

commit  fd64a0d03455fdb3bbf710e77f2a2f6d08d3cf6c
Author: Shruti Sampat <shrutisampat@gmail.com>
Date:   2014-12-23T23:09:04.000Z

    3244 utmpd.c: fix uninitialized variable, ret_val and other gcc warnings
    Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
    Reviewed by: Sachidananda Urs <sac.urs@gmail.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF