[omniORB] Warning in idl compiler generated code

Peter Klotz peter.klotz@aon.at
Mon Dec 16 20:58:01 2002


This is a multi-part message in MIME format.

------=_NextPart_000_001F_01C2A54D.B591A0C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Maybe someone can fix an unused variable warning that arises from
omniORB-4.0.0/src/lib/omniORB/omniidl_be/cxx/skel/template.py, line 323

The corresponding line is
@local_call_descriptor@(omniCallDescriptor* cd, omniServant* svnt)

Sometimes the variable cd is not needed. If the variable name is skipped =
if it is not needed, the warning would be gone.

Best regards, Peter.
------=_NextPart_000_001F_01C2A54D.B591A0C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Maybe someone can fix an unused =
variable warning=20
that arises from</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>omniORB-4.0.0/src/lib/omniORB/omniidl_be/cxx/skel/template.py, =
line=20
323</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The corresponding line is</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>@local_call_descriptor@(omniCallDescriptor* cd,=20
omniServant* svnt)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Sometimes the variable cd is not =
needed. If the=20
variable name is skipped if it is not needed, the warning would be=20
gone.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Best regards, =
Peter.</FONT></DIV></BODY></HTML>

------=_NextPart_000_001F_01C2A54D.B591A0C0--