Remove warnings

This commit is contained in:
adam 2009-07-30 16:11:50 +00:00
parent 7a2e53f1b9
commit 16d202d4d6
2 changed files with 5 additions and 5 deletions

View File

@ -805,7 +805,7 @@ void DumpPosition(const gp_Ax3& aAx3)
//======================================================================= //=======================================================================
void DumpKindOfBounds(const GEOMAlgo_KindOfBounds aKB) void DumpKindOfBounds(const GEOMAlgo_KindOfBounds aKB)
{ {
char *pStr[]={ const char *pStr[]={
"KB_UNKNOWN", "KB_UNKNOWN",
"KB_TRIMMED", "KB_TRIMMED",
"KB_INFINITE" "KB_INFINITE"
@ -822,7 +822,7 @@ void DumpKindOfBounds(const GEOMAlgo_KindOfBounds aKB)
//======================================================================= //=======================================================================
void DumpKindOfClosed(const GEOMAlgo_KindOfClosed aKC) void DumpKindOfClosed(const GEOMAlgo_KindOfClosed aKC)
{ {
char *pStr[]={ const char *pStr[]={
"KC_UNKNOWN", "KC_UNKNOWN",
"KC_CLOSED", "KC_CLOSED",
"KC_NOTCLOSED" "KC_NOTCLOSED"
@ -839,7 +839,7 @@ void DumpKindOfClosed(const GEOMAlgo_KindOfClosed aKC)
//======================================================================= //=======================================================================
void DumpKindOfShape(const GEOMAlgo_KindOfShape aKS) void DumpKindOfShape(const GEOMAlgo_KindOfShape aKS)
{ {
char *pStr[]={ const char *pStr[]={
"KS_UNKNOWN", "KS_UNKNOWN",
"KS_SPHERE", "KS_SPHERE",
"KS_CYLINDER", "KS_CYLINDER",
@ -863,7 +863,7 @@ void DumpKindOfShape(const GEOMAlgo_KindOfShape aKS)
//======================================================================= //=======================================================================
void DumpKindOfName(const GEOMAlgo_KindOfName aKS) void DumpKindOfName(const GEOMAlgo_KindOfName aKS)
{ {
char *pStr[]={ const char *pStr[]={
"KN_UNKNOWN", "KN_UNKNOWN",
"KN_SPHERE", "KN_SPHERE",
"KN_CYLINDER", "KN_CYLINDER",

View File

@ -623,7 +623,7 @@ char* GEOMBase_Helper::getEntry( GEOM::GEOM_Object_ptr object ) const
} }
} }
} }
return ""; return (char*)"";
} }
//================================================================ //================================================================