Permalink
Browse files

clean double end statements

  • Loading branch information...
1 parent e6d1042 commit cb1e01f38044bcd3482b3f61ffe609ae8ed85bbe @latot latot committed Dec 3, 2016
Showing with 3 additions and 144 deletions.
  1. +3 −3 Common/Vulkan/SPIRVDisasm.cpp
  2. +0 −137 Qt/Debugger/debugger_displaylist.cpp
  3. +0 −4 ext/disarm.cpp
@@ -497,12 +497,12 @@ bool DisassembleSPIRV(std::vector<uint32_t> spirv, std::string *output) {
case spv::OpTypeVector:
source = spirv[i + 2];
source2 = spirv[i + 3];
- ids[target].name = ids[source].name + StringFromFormat("%d", source2); break;
+ ids[target].name = ids[source].name + StringFromFormat("%d", source2);
break;
case spv::OpTypeArray:
source = spirv[i + 2];
source2 = spirv[i + 3];
- ids[target].name = ids[source].name + "[" + ids[source2].name + "]"; break;
+ ids[target].name = ids[source].name + "[" + ids[source2].name + "]";
break;
case spv::OpTypeStruct:
{
@@ -613,4 +613,4 @@ bool DisassembleSPIRV(std::vector<uint32_t> spirv, std::string *output) {
*output = buffer;
delete[] buffer;
return true;
-}
+}
Oops, something went wrong.

0 comments on commit cb1e01f

Please sign in to comment.