Commit 51bcc028 authored by vijaysm's avatar vijaysm

Fixing some formatting warnings with GNU 6.2

parent 4ceb7d80
...@@ -2358,7 +2358,7 @@ ErrorCode mb_mesh_set_flag_test() ...@@ -2358,7 +2358,7 @@ ErrorCode mb_mesh_set_flag_test()
unsigned int flags; unsigned int flags;
rval = mb->get_meshset_options( set, flags ); rval = mb->get_meshset_options( set, flags );
CHKERR(rval); CHKERR(rval);
if(!MESHSET_SET&flags || MESHSET_TRACK_OWNER&flags || MESHSET_ORDERED&flags){ if(!(MESHSET_SET&flags) || (MESHSET_TRACK_OWNER&flags) || (MESHSET_ORDERED&flags) ){
std::cerr << "set should be MESHSET_SET only, flags=" << flags << std::endl; std::cerr << "set should be MESHSET_SET only, flags=" << flags << std::endl;
return MB_FAILURE; return MB_FAILURE;
} }
......
...@@ -267,7 +267,7 @@ static void print_tag_counts( const std::vector<TagCounts>& counts ) ...@@ -267,7 +267,7 @@ static void print_tag_counts( const std::vector<TagCounts>& counts )
for (EntityType t = MBVERTEX; t != MBMAXTYPE; ++t) for (EntityType t = MBVERTEX; t != MBMAXTYPE; ++t)
if (widths[t]) if (widths[t])
printf( " %s", dashes(widths[t]) ); printf( " %s", dashes(widths[t]) );
printf("\n"); printf("\n");
// print data // print data
for (size_t i = 0; i < counts.size(); ++i) { for (size_t i = 0; i < counts.size(); ++i) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment