mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Fix warning of missing case in switch statement
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d2a776bcc6
commit
51b169e9a8
@@ -18,17 +18,11 @@ namespace NEO {
|
||||
|
||||
namespace IoctlHelper {
|
||||
std::string getIoctlStringRemaining(unsigned long request) {
|
||||
switch (request) {
|
||||
default:
|
||||
return std::to_string(request);
|
||||
}
|
||||
return std::to_string(request);
|
||||
}
|
||||
|
||||
std::string getIoctlParamStringRemaining(int param) {
|
||||
switch (param) {
|
||||
default:
|
||||
return std::to_string(param);
|
||||
}
|
||||
return std::to_string(param);
|
||||
}
|
||||
} // namespace IoctlHelper
|
||||
|
||||
|
||||
@@ -20,17 +20,11 @@ class OsContext;
|
||||
|
||||
namespace IoctlHelper {
|
||||
std::string getIoctlStringRemaining(unsigned long request) {
|
||||
switch (request) {
|
||||
default:
|
||||
return std::to_string(request);
|
||||
}
|
||||
return std::to_string(request);
|
||||
}
|
||||
|
||||
std::string getIoctlParamStringRemaining(int param) {
|
||||
switch (param) {
|
||||
default:
|
||||
return std::to_string(param);
|
||||
}
|
||||
return std::to_string(param);
|
||||
}
|
||||
} // namespace IoctlHelper
|
||||
|
||||
|
||||
Reference in New Issue
Block a user