aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/cmip/packet-cmip-template.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-02-13 17:58:25 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2015-02-17 20:28:45 +0000
commitfd870e34e865e5d8e1114b8b6d9394355989a617 (patch)
tree2fce15a4594b69153fe8e54c4a2807be1f3c62ed /asn1/cmip/packet-cmip-template.c
parentedf05db347d70c25bdc70247a37e8b95045f5dc6 (diff)
CMIP: get rid of some evil global variables
Fixes an ASAN failure reported by Alexis Note that some global variables remain as I do not know enough on this protocol to safely remove them Change-Id: If392a8f09ef2fc2f2d46871a71149e29fe5e292c Reviewed-on: https://code.wireshark.org/review/7099 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'asn1/cmip/packet-cmip-template.c')
-rw-r--r--asn1/cmip/packet-cmip-template.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/asn1/cmip/packet-cmip-template.c b/asn1/cmip/packet-cmip-template.c
index e3da507fa5..7dd27fc98c 100644
--- a/asn1/cmip/packet-cmip-template.c
+++ b/asn1/cmip/packet-cmip-template.c
@@ -75,21 +75,8 @@ static int opcode_type;
#define OPCODE_RETURN_ERROR 3
#define OPCODE_REJECT 4
-static int attributeform;
-#define ATTRIBUTE_LOCAL_FORM 0
-#define ATTRIBUTE_GLOBAL_FORM 1
-static int attribute_local_id;
-static const char *attribute_identifier_id;
-
-static const char *attributevalueassertion_id;
-
static const char *object_identifier_id;
-static int objectclassform;
-#define OBJECTCLASS_LOCAL_FORM 0
-#define OBJECTCLASS_GLOBAL_FORM 1
-static const char *objectclass_identifier_id;
-
#include "packet-cmip-val.h"
#include "packet-cmip-fn.c"