branch | GCC_SURGE |
changeset 110 | c1bfa2b1009b |
parent 51 | 254b9435d75e |
--- a/omap3530/beagle_drivers/usbv/usbv.cpp Fri Jul 30 11:18:18 2010 +0100 +++ b/omap3530/beagle_drivers/usbv/usbv.cpp Wed Nov 17 11:02:10 2010 +0000 @@ -182,8 +182,8 @@ return NULL; } - TInt r; - if ((r = phy->Construct()) != KErrNone) + TInt r = phy->Construct(); + if (r != KErrNone) { __KTRACE_OPT(KPANIC, Kern::Printf(" Error: Construction of TBeagleUsbPhy failed (%d)", r)); delete phy;