mirror of https://github.com/PentHertz/srsLTE.git
Fix compilation warning with unecessary comparison.
This commit is contained in:
parent
b59eca1b27
commit
08a0d6bc0a
|
@ -211,7 +211,7 @@ public:
|
|||
// Get subheader at specified index
|
||||
SubH* get(uint32_t idx)
|
||||
{
|
||||
if (nof_subheaders > 0 && idx >= 0 && idx < (uint32_t)nof_subheaders) {
|
||||
if (nof_subheaders > 0 && idx < (uint32_t)nof_subheaders) {
|
||||
return &subheaders[idx];
|
||||
} else {
|
||||
return nullptr;
|
||||
|
|
Loading…
Reference in New Issue