removed compiler warnings

parent 9e6a917f
......@@ -619,6 +619,12 @@ Grep::PSCoord::execCREATE_SUBID_REF(Signal* signal) {
{
jam();
err = GrepError::SUBSCRIPTION_ID_SUMA_FAILED_CREATE;
} else {
jam();
ndbrequire(false); /* Added since errorcode err unhandled
* TODO: fix correct errorcode
*/
err= GrepError::NO_ERROR; // remove compiler warning
}
SubCoordinatorPtr subPtr;
......@@ -1819,6 +1825,7 @@ Grep::PSCoord::sendRefToSS(Signal * signal,
break;
default:
ndbrequire(false);
event= GrepEvent::Rep_Disconnect; // remove compiler warning
}
/**
* Finally, send an event.
......@@ -1906,6 +1913,7 @@ Grep::PSPart::sendRefToPSCoord(Signal * signal,
break;
default:
ndbrequire(false);
event= GrepEvent::Rep_Disconnect; // remove compiler warning
}
/**
......
......@@ -155,7 +155,7 @@ NdbShutdown(NdbShutdownType type,
break;
default:
ndbout << "Error handler " << shutting << " system"
<< " (unknown type: " << type << ")" << endl;
<< " (unknown type: " << (unsigned)type << ")" << endl;
type = NST_ErrorHandler;
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment