_ORBIT_retval uninitialized?
- From: Dietmar Maurer <dm vlsivie tuwien ac at>
- To: gnome-list gnome org
- Subject: _ORBIT_retval uninitialized?
- Date: Sun, 21 Nov 1999 12:32:03 +0100
orbit-idl generates stubs like this one:
CORBA_boolean _ORBIT_retval;
if(_obj->servant && _obj->vepv && GNOME_PersistStorage__classid)
{
_ORBIT_retval = ((POA_GNOME_PersistStorage__epv
*)_obj->vepv[GNOME_PersistStorage__classid])->is_dirty(_obj->servant,
ev);
return _ORBIT_retval;
The compiler says:
> bonobo-stubs.c:1740: warning: `_ORBIT_retval' might be used
uninitialized in this function
which is true. How can we fix/suppress that warnings?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]