From: Carl Worth Date: Thu, 20 May 2010 21:08:19 +0000 (-0700) Subject: Remove unused function _print_string_list X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff13cfed81132eaaa8859f25f87ea5398d4864ba;p=mesa.git Remove unused function _print_string_list The only good dead code is non-existing dead code. --- diff --git a/glcpp-parse.y b/glcpp-parse.y index 773db93e54a..79a8ec2cf2a 100644 --- a/glcpp-parse.y +++ b/glcpp-parse.y @@ -50,9 +50,6 @@ _expand_function_macro (glcpp_parser_t *parser, const char *identifier, argument_list_t *arguments); -void -_print_string_list (string_list_t *list); - string_list_t * _string_list_create (void *ctx); @@ -396,21 +393,6 @@ _string_list_length (string_list_t *list) return length; } -void -_print_string_list (string_list_t *list) -{ - string_node_t *node; - - if (list == NULL) - return; - - for (node = list->head; node; node = node->next) { - printf ("%s", node->str); - if (node->next) - printf (" "); - } -} - argument_list_t * _argument_list_create (void *ctx) {