Project

General

Profile

Actions

Bug #8562

closed

xencons: 'instance' may be used uninitialized in this function

Added by Yuri Pankov almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2017-08-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

building with gcc 6 (DEBUG):

In file included from ../../common/xen/io/xencons.c:100:0:
../../common/xen/io/xencons.c: In function 'xencons_rxint':
../../common/xen/io/xencons.h:72:3: error: 'instance' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   cmn_err(CE_CONT, format, arg1)
   ^~~~~~~
../../common/xen/io/xencons.c:541:6: note: 'instance' was declared here
  int instance;
      ^~~~~~~~
cc1: all warnings being treated as errors

Actions #1

Updated by Yuri Pankov almost 4 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk almost 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit c5b186dedd5ab03feb457a3205005f0e5833cfda

commit  c5b186dedd5ab03feb457a3205005f0e5833cfda
Author: Yuri Pankov <yuri.pankov@nexenta.com>
Date:   2017-08-07T13:51:22.000Z

    8562 xencons: 'instance' may be used uninitialized in this function
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF