summaryrefslogtreecommitdiff
path: root/src/nsgenbind-parser.y
diff options
context:
space:
mode:
authorRob Kendrick (humdrum) <rob.kendrick@codethink.co.uk>2013-04-25 15:34:05 +0100
committerRob Kendrick (humdrum) <rob.kendrick@codethink.co.uk>2013-04-25 15:34:05 +0100
commit2d7c91290599619a78a6dfdd9ec230a76afe57a4 (patch)
tree1d5dbb7c1642a7792d4f6da9fbc86ead9c699eb9 /src/nsgenbind-parser.y
parent4fae88dac6f26991335a66948ad29f480f7f148f (diff)
downloadnsgenbind-2d7c91290599619a78a6dfdd9ec230a76afe57a4.tar.gz
nsgenbind-2d7c91290599619a78a6dfdd9ec230a76afe57a4.tar.bz2
Silence warnings from clangrjek/clang-warnings
Diffstat (limited to 'src/nsgenbind-parser.y')
-rw-r--r--src/nsgenbind-parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nsgenbind-parser.y b/src/nsgenbind-parser.y
index 472e655..cfedd28 100644
--- a/src/nsgenbind-parser.y
+++ b/src/nsgenbind-parser.y
@@ -19,8 +19,8 @@ char *errtxt;
static void nsgenbind_error(YYLTYPE *locp, struct genbind_node **genbind_ast, const char *str)
{
- locp = locp;
- genbind_ast = genbind_ast;
+ (void)locp;
+ (void)genbind_ast;
errtxt = strdup(str);
}