Skip to content

Commit

Permalink
Silence a pedantic warning, NFC
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@297515 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
epilk committed Mar 10, 2017
1 parent 2f55ecd commit ac5f53a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/builtins/os_version_check.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,9 @@ int32_t __isOSVersionAtLeast(int32_t Major, int32_t Minor, int32_t Subminor) {
return Subminor <= GlobalSubminor;
}

#else

/* Silence an empty translation unit warning. */
typedef int unused;

#endif

0 comments on commit ac5f53a

Please sign in to comment.