A
artooro
Hi,
I'm using some lines of code like this:
ClassName *var = new ClassName(...);
and that's it. The class constructor does everything I want (there are
methods to do more but I don't need them)
But this generates a warning (gcc4) saying it's an unused variable.
Is there a better way to do this?
I'm using some lines of code like this:
ClassName *var = new ClassName(...);
and that's it. The class constructor does everything I want (there are
methods to do more but I don't need them)
But this generates a warning (gcc4) saying it's an unused variable.
Is there a better way to do this?