Bug 164049

Summary: 2 * local variable used before set
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: glib2Assignee: Matthias Clasen <mclasen>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.8.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-24 17:13:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Binderman 2005-07-23 11:03:57 UTC
Description of problem:
Hello there,

I just tried to compile Redhat Fedora package
glib2-2.7.1-1 with the Intel C compiler version 8.1

The compiler said

gfileutils.c(1698): remark #592: variable "va_args" is used before its value is
set

The source code is

  va_list va_args;

  if (!args)
    return NULL;

  return g_build_path_va (separator, NULL, va_args, args);

Suggest initialise local variable "va_args" before first use.

2.

gfileutils.c(1890): remark #592: variable "va_args" is used before its value is
set

Duplicate.



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info: