Skip to content
Commit a996d13b authored by Florian Weimer's avatar Florian Weimer
Browse files

Add missing braces to bsearch inline implementation [BZ #28400]



GCC treats the pragma as a statement, so that the else branch only
consists of the pragma, not the return statement.

Fixes commit a725ff1d ("Suppress
-Wcast-qual warnings in bsearch").

Reviewed-by: default avatarH.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit 32b96d0d)
parent 80a00911
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment