Skip to content

Commit

Permalink
little warning fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni [dacav] Simoni committed Jun 16, 2010
1 parent b6cc950 commit 01beac9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/gp_base.cpp
Expand Up @@ -63,9 +63,6 @@ namespace gnup {
const char *sn;

switch (style) {
case LINES:
sn = "lines";
break;
case POINTS:
sn = "points";
break;
Expand All @@ -90,6 +87,10 @@ namespace gnup {
case BOXERRORBARS:
sn = "boxerrorbars";
break;
case LINES:
default:
sn = "lines";
break;
}
c->command("with %s ", sn);
}
Expand Down

0 comments on commit 01beac9

Please sign in to comment.