mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0024284: Some trivial warnings produced by ICC 14
Eliminated ICC 14 warnings: # 82: storage class is not first (e.g. "int static f()" # 2621: attribute "dllexport" does not apply here (e.g. "Standard_EXPORT typedef int qqint;") # 2415: variable "..." of static storage duration was declared but never referenced # 111: statement is unreachable (usually "break" after "return" in cycles)
This commit is contained in:
@@ -27,8 +27,4 @@ struct Tcl_Interp;
|
||||
|
||||
typedef Tcl_Interp *Draw_PInterp;
|
||||
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
inline const Handle(Standard_Type)& STANDARD_TYPE(Draw_PInterp) {return *((Handle(Standard_Type)*)0);}
|
||||
|
||||
#endif
|
||||
|
@@ -1396,7 +1396,6 @@ LRESULT APIENTRY DrawWindow::DrawProc(HWND hWnd, UINT wMsg, WPARAM wParam, LPARA
|
||||
localObjet->WExpose();
|
||||
localObjet->Redraw();
|
||||
return 0l;
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user