[Libphidget-devel] CUID.cc:42
Status: Alpha
Brought to you by:
jstrohm
|
From: Vadim T. <vt...@fr...> - 2002-09-06 23:52:31
|
Jack,
Here's the persisting warning:
CUID.cc: In method onst CUID &CUID::operator= (const CUID &)':
CUID.cc:42: warning: no return statement in function returning non-void
Here's the code:
const CUID &CUID::operator=(const CUID &id)
{
_serial=id._serial;
_id=id._id;
}
Do I remember right that this operator is supposed to return a reference to
'this'?
Another thing: I'll take a look at gcc manual and jack up all the possible
warnings... Better safe than sorry.
--vt
|