diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-04-07 20:25:36 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-04-07 20:25:36 +0000 |
commit | cec4091671724d867d1bc80c37be9f50f572c8f7 (patch) | |
tree | bf605e22619cbbb365d4db0077084670fe9090ad /sunrpc/rpc_parse.c | |
parent | 2035d91c389888fcf359698fecc20c05f7b583dd (diff) | |
download | glibc-cec4091671724d867d1bc80c37be9f50f572c8f7.tar glibc-cec4091671724d867d1bc80c37be9f50f572c8f7.tar.gz glibc-cec4091671724d867d1bc80c37be9f50f572c8f7.tar.bz2 glibc-cec4091671724d867d1bc80c37be9f50f572c8f7.zip |
* sysdeps/posix/tempname.c (__gen_tempname): Change attempts_min
into a macro. Use preprocessor to decide how to initialize
attempts [Coverity CID 67].
* io/fts.c (fts_build): Comment out dead code [Coverity CID 68].
* sunrpc/rpc_parse.c (def_union): Comment out dead code
[Coverity CID 70].
* locale/programs/linereader.c (lr_token): Remove duplicate
handling of EOF [Coverity CID 71].
* locale/programs/ld-numeric.c (numeric_read) [case tok_grouping]:
We bail out early if ignore_content is set, so there is no need to
check it later again [Coverity CID 72].
* inet/inet6_option.c (inet6_option_find): Check *tptrp for NULL,
not tptrp [Coverity CID 73].
* inet/inet6_option.c (inet6_option_next): Check *tptrp for NULL,
not tptrp [Coverity CID 74].
* misc/tsearch.c (__tsearch): Don't rotate tree if memory
allocation failed [Coverity CID 78].
Diffstat (limited to 'sunrpc/rpc_parse.c')
-rw-r--r-- | sunrpc/rpc_parse.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sunrpc/rpc_parse.c b/sunrpc/rpc_parse.c index 9678f28140..f66538701f 100644 --- a/sunrpc/rpc_parse.c +++ b/sunrpc/rpc_parse.c @@ -303,7 +303,9 @@ def_union (definition *defp) case_list *cases; /* case_list *tcase; */ case_list **tailp; +#if 0 int flag; +#endif defp->def_kind = DEF_UNION; scan (TOK_IDENT, &tok); @@ -323,7 +325,9 @@ def_union (definition *defp) cases->case_name = tok.str; scan (TOK_COLON, &tok); /* now peek at next token */ +#if 0 flag = 0; +#endif if (peekscan (TOK_CASE, &tok)) { @@ -340,6 +344,7 @@ def_union (definition *defp) } while (peekscan (TOK_CASE, &tok)); } +#if 0 else if (flag) { @@ -347,6 +352,7 @@ def_union (definition *defp) tailp = &cases->next; cases = ALLOC (case_list); }; +#endif get_declaration (&dec, DEF_UNION); cases->case_decl = dec; |