summaryrefslogtreecommitdiff
path: root/egg/egg-asn1x.c
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-08-30 13:36:15 +0200
committerStef Walter <stefw@collabora.co.uk>2011-08-30 13:36:15 +0200
commit6d46370fe0d0216cf4a048228e827a1f29930987 (patch)
tree3e7a791a54d562542d2ebce438b54343b96b2baf /egg/egg-asn1x.c
parentd4fe26de576b8815169df2f5eb37b6c8e70ba204 (diff)
downloadgcr-6d46370fe0d0216cf4a048228e827a1f29930987.tar.gz
Fix compile warnings when building with --disable-debug
Diffstat (limited to 'egg/egg-asn1x.c')
-rw-r--r--egg/egg-asn1x.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/egg/egg-asn1x.c b/egg/egg-asn1x.c
index aae8ddd..46d302c 100644
--- a/egg/egg-asn1x.c
+++ b/egg/egg-asn1x.c
@@ -1579,10 +1579,8 @@ anode_encode_prepare_choice (GNode *node, gboolean want)
{
Atlv *tlv;
GNode *child;
- gint type;
- type = anode_def_type (node);
- g_assert (type == TYPE_CHOICE);
+ g_assert (anode_def_type (node) == TYPE_CHOICE);
child = egg_asn1x_get_choice (node);
if (!child)