]> granicus.if.org Git - llvm/commitdiff
[llvm-readobj][XCOFF][NFC] Add return statement to avoid -Wimplicit-fallthrough warning
authorJason Liu <jasonliu.development@gmail.com>
Wed, 28 Aug 2019 20:59:17 +0000 (20:59 +0000)
committerJason Liu <jasonliu.development@gmail.com>
Wed, 28 Aug 2019 20:59:17 +0000 (20:59 +0000)
This is to fix the commit in r370097.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370260 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-readobj/XCOFFDumper.cpp

index e09e69fb341e168c9d328836b8fc42cc101f7ae2..4fabead59fc82cdccaf2b6bdd8c34173e1e9f155 100644 (file)
@@ -237,6 +237,7 @@ static StringRef GetSymbolValueName(XCOFF::StorageClass SC) {
   case XCOFF::C_ECOML:
   case XCOFF::C_DWARF:
     assert(false && "This StorageClass for the symbol is not yet implemented.");
+    return "";
   default:
     return "Value";
   }