Skip to content

Commit

Permalink
Fix GCC warning about unused cbehave test
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Jun 19, 2013
1 parent 6428310 commit 60204a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions make.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/sh

# To create a debug build, run `cmake -D CMAKE_BUILD_TYPE=Debug .` instead

cd src
UNAME_SHORT=`uname -s | cut -c1-5`
if [ "$UNAME_SHORT" = "MINGW" ] ; then
Expand Down
3 changes: 2 additions & 1 deletion src/tests/config_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ int main(void)
{feature_idx(1)},
{feature_idx(2)},
{feature_idx(3)},
{feature_idx(4)}
{feature_idx(4)},
{feature_idx(5)}
};

return cbehave_runner("Config features are:", features);
Expand Down

0 comments on commit 60204a9

Please sign in to comment.