aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/PIC16/PIC16TargetAsmInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/PIC16/PIC16TargetAsmInfo.cpp b/lib/Target/PIC16/PIC16TargetAsmInfo.cpp
index 192ec0803a..e8f216d099 100644
--- a/lib/Target/PIC16/PIC16TargetAsmInfo.cpp
+++ b/lib/Target/PIC16/PIC16TargetAsmInfo.cpp
@@ -258,10 +258,10 @@ PIC16TargetAsmInfo::getSpecialCasedSectionGlobals(const GlobalValue *GV,
if (SectName.compare(0, AddrStr.length(), AddrStr) == 0) {
std::string SectAddr = SectName.substr(AddrStr.length());
return CreateSectionForGlobal(GVar, SectAddr);
- } else {
- // Create the section specified with section attribute.
- return CreateSectionForGlobal(GVar);
}
+
+ // Create the section specified with section attribute.
+ return CreateSectionForGlobal(GVar);
}
}