removed unneeded variables and files.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 2 Oct 2012 18:20:49 +0000 (20:20 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 2 Oct 2012 18:20:49 +0000 (20:20 +0200)
lib/Makefile.am
lib/parser_aux.c

index 03b49f5..044f72d 100644 (file)
@@ -44,8 +44,7 @@ libtasn1_la_SOURCES = \
        parser_aux.h    \
        structure.c     \
        structure.h     \
-       version.c       \
-       hash.c
+       version.c
 
 libtasn1_la_LIBADD = gllib/libgnu.la
 
index a9359bd..c9a1801 100644 (file)
@@ -387,8 +387,6 @@ unsigned int nsize;
 asn_node_t
 _asn1_cpy_name (asn_node_t dst, asn_node_t src)
 {
-unsigned int nsize;
-
   if (dst == NULL)
     return dst;
 
@@ -399,7 +397,7 @@ unsigned int nsize;
       return dst;
     }
 
-  nsize = _asn1_str_cpy (dst->name, sizeof (dst->name), src->name);
+  _asn1_str_cpy (dst->name, sizeof (dst->name), src->name);
   dst->name_hash = src->name_hash;
 
   return dst;