Skip to content

Commit

Permalink
Compiler gymnastics
Browse files Browse the repository at this point in the history
Part of harfbuzz#630
  • Loading branch information
behdad authored and fanc999-1 committed Jul 25, 2018
1 parent 8855de4 commit 00a3b44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hb-private.hh
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ _hb_popcount (T v)
}

assert (0);
return 0; /* Shut up stupid compiler. */
}

/* Returns the number of bits needed to store number */
Expand Down Expand Up @@ -442,6 +443,7 @@ _hb_bit_storage (T v)
}

assert (0);
return 0; /* Shut up stupid compiler. */
}

/* Returns the number of zero bits in the least significant side of v */
Expand Down Expand Up @@ -514,6 +516,7 @@ _hb_ctz (T v)
}

assert (0);
return 0; /* Shut up stupid compiler. */
}

static inline bool
Expand Down

0 comments on commit 00a3b44

Please sign in to comment.