X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/9411f454b076f9b3aea9a4d8d409ecbce7ce6ad0..86eff18354964702e7f32d8b1550264efa573147:/src/muscle_tab.c diff --git a/src/muscle_tab.c b/src/muscle_tab.c index 901886c0..7d344a6a 100644 --- a/src/muscle_tab.c +++ b/src/muscle_tab.c @@ -72,7 +72,8 @@ muscle_init (void) void muscle_insert (const char *key, const char *value) { - muscle_entry_t pair = { key, NULL }; + muscle_entry_t pair; + pair.key = key; muscle_entry_t *entry = hash_lookup (muscle_table, &pair); if (!entry) @@ -88,7 +89,8 @@ muscle_insert (const char *key, const char *value) const char* muscle_find (const char *key) { - muscle_entry_t pair = { key, NULL }; + muscle_entry_t pair; + pair.key = key; muscle_entry_t *result = hash_lookup (muscle_table, &pair); return result ? result->value : NULL; }