1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/hllib/files/patch-HLLib-VBSPFile.cpp
Felippe de Meirelles Motta 13f09390a9 - Update to 2.4.4
- Pass maintainership to submitter
- Make CLANG happy

PR:		ports/176040
Submitted by:	Danilo Egea Gondolfo <danilogondolfo@gmail.com>
2013-02-14 22:04:06 +00:00

39 lines
850 B
C++

--- ../orig/HLLib/VBSPFile.cpp 2011-05-22 07:53:42.000000000 -0300
+++ ./HLLib/VBSPFile.cpp 2013-02-11 17:56:51.294217852 -0200
@@ -422,6 +422,8 @@
delete []lpComment;
return hlTrue;
}
+ default:
+ ;
}
}
else
@@ -444,6 +446,8 @@
hlAttributeSetUnsignedInteger(&Attribute, this->lpItemAttributeNames[eAttribute], *(hlUInt *)this->pHeader->lpLumps[uiID].lpFourCC, hlTrue);
return hlTrue;
}
+ default:
+ ;
}
if(this->pEndOfCentralDirectoryRecord != 0 && pItem->GetID() == HL_VBSP_LUMP_PAKFILE)
@@ -466,11 +470,15 @@
delete []lpComment;
return hlTrue;
}
+ default:
+ ;
}
}
}
break;
}
+ default:
+ ;
}
return hlFalse;
Only in ./HLLib: VBSPFile.cpp.orig
diff -ru ../orig/HLLib/VPKFile.cpp ./HLLib/VPKFile.cpp