remove two pointless const in casts
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 30 Mar 2011 04:36:09 +0000 (04:36 +0000)
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 30 Mar 2011 04:36:09 +0000 (04:36 +0000)
coverity 580 and 581

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36407 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-ber.c

index 74c0bb38777ad4dc63d7afe12e6fe877b5c03e9e..c7c6fcae73dd0d557b2f9385be591dabd5ae4184 100644 (file)
@@ -363,7 +363,7 @@ register_ber_oid_syntax(const char *oid, const char *name, const char *syntax)
 {
 
   if(syntax && *syntax)
-    g_hash_table_insert(syntax_table, (const gpointer)g_strdup(oid), (const gpointer)g_strdup(syntax));
+    g_hash_table_insert(syntax_table, (gpointer)g_strdup(oid), (gpointer)g_strdup(syntax));
 
   if(name && *name)
     register_ber_oid_name(oid, name);