mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
removed compiler warnings
This commit is contained in:
parent
9e6a917f1a
commit
84ea2f62e9
2 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue