Skip to content

Commit

Permalink
Fixed|GCC: Compiler errors and warnings
Browse files Browse the repository at this point in the history
Unnecessary qualifiers and mismatched declaration of a static function.
  • Loading branch information
skyjake committed Apr 13, 2012
1 parent 40809a0 commit f468ae4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion doomsday/engine/portable/include/edit_map.h
Expand Up @@ -98,7 +98,6 @@ boolean MPE_GameObjProperty(const char *objName, uint idx,
void MPE_PruneRedundantMapData(editmap_t* map, int flags);

GameMap* MPE_GetLastBuiltMap(void);
Vertex* createVertex(void);

#ifdef __cplusplus
} // extern "C"
Expand Down
2 changes: 1 addition & 1 deletion doomsday/engine/portable/include/map/bsp/linedefinfo.h
Expand Up @@ -59,7 +59,7 @@ struct LineDefInfo
/// @todo Refactor me away.
int validCount;

LineDefInfo::LineDefInfo() : flags(0), overlap(0), validCount(0)
LineDefInfo() : flags(0), overlap(0), validCount(0)
{}
};

Expand Down
2 changes: 1 addition & 1 deletion doomsday/engine/portable/include/map/bsp/partitioncost.h
Expand Up @@ -42,7 +42,7 @@ struct PartitionCost
int miniRight;
int miniLeft;

PartitionCost::PartitionCost() :
PartitionCost() :
total(0), splits(0), iffy(0), nearMiss(0), realRight(0),
realLeft(0), miniRight(0), miniLeft(0)
{}
Expand Down
3 changes: 1 addition & 2 deletions doomsday/engine/portable/include/map/bsp/vertexinfo.h
Expand Up @@ -40,8 +40,7 @@ namespace bsp {
struct VertexInfo
{
struct HEdgeTip* tipSet;
VertexInfo::VertexInfo() : tipSet(0)
{}
VertexInfo() : tipSet(0) {}
};

} // namespace bsp
Expand Down

0 comments on commit f468ae4

Please sign in to comment.