_ORBIT_retval uninitialized?



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]