mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
Fix clang warnings.
Approved by: philip (mentor)
This commit is contained in:
parent
479718927a
commit
eb838be1a5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222205
@ -30,7 +30,7 @@ extern char *input_line_pointer; /* -> char we are parsing now. */
|
||||
|
||||
#ifdef PERMIT_WHITESPACE
|
||||
#define SKIP_WHITESPACE() \
|
||||
((*input_line_pointer == ' ') ? ++input_line_pointer : 0)
|
||||
do { if (*input_line_pointer == ' ') ++input_line_pointer; } while (0)
|
||||
#else
|
||||
#define SKIP_WHITESPACE() know(*input_line_pointer != ' ' )
|
||||
#endif
|
||||
|
@ -345,7 +345,7 @@ record_alignment (/* Segment to which alignment pertains. */
|
||||
return;
|
||||
|
||||
if ((unsigned int) align > bfd_get_section_alignment (stdoutput, seg))
|
||||
bfd_set_section_alignment (stdoutput, seg, align);
|
||||
(void) bfd_set_section_alignment (stdoutput, seg, align);
|
||||
}
|
||||
|
||||
int
|
||||
@ -2247,7 +2247,7 @@ relax_segment (struct frag *segment_frag_root, segT segment, int pass)
|
||||
|
||||
newf = frag_alloc (ob);
|
||||
obstack_blank_fast (ob, fragP->fr_var);
|
||||
obstack_finish (ob);
|
||||
(void) obstack_finish (ob);
|
||||
memcpy (newf, fragP, SIZEOF_STRUCT_FRAG);
|
||||
memcpy (newf->fr_literal,
|
||||
fragP->fr_literal + fragP->fr_fix,
|
||||
|
Loading…
Reference in New Issue
Block a user