mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Add missing __builtin_unreachable for switch/case for gcc
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
619e11bcf6
commit
6da2c48b7a
@ -437,6 +437,7 @@ String FileSegment::stateToString(FileSegment::State state)
|
|||||||
case FileSegment::State::SKIP_CACHE:
|
case FileSegment::State::SKIP_CACHE:
|
||||||
return "SKIP_CACHE";
|
return "SKIP_CACHE";
|
||||||
}
|
}
|
||||||
|
__builtin_unreachable();
|
||||||
}
|
}
|
||||||
|
|
||||||
String FileSegmentsHolder::toString()
|
String FileSegmentsHolder::toString()
|
||||||
|
@ -96,6 +96,7 @@ private:
|
|||||||
case ReadType::REMOTE_FS_READ_AND_PUT_IN_CACHE:
|
case ReadType::REMOTE_FS_READ_AND_PUT_IN_CACHE:
|
||||||
return "REMOTE_FS_READ_AND_PUT_IN_CACHE";
|
return "REMOTE_FS_READ_AND_PUT_IN_CACHE";
|
||||||
}
|
}
|
||||||
|
__builtin_unreachable();
|
||||||
}
|
}
|
||||||
size_t first_offset = 0;
|
size_t first_offset = 0;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user