8939 btxld coverity cleanups

Review Request #806 — Created Dec. 28, 2017 and submitted

tsoome
illumos-gate
8939
cd5ee27...
general
Explicitly ignore return value from remove. We wouldn't do anything
differently if we can't unlink the temporary file. Also, free the
temporary file name when we set it to NULL.

https://svnweb.freebsd.org/base?view=revision&revision=327263


yuripv
  1. 
      
  2. usr/src/tools/btxld/btxld.c (Diff revision 1)
     
     

    whitespace between (void) and remove?

  3. usr/src/tools/btxld/btxld.c (Diff revision 1)
     
     

    doesn't cstyle whine here about missing whitespace between void and *?

    1. It's not checked (one day when I'm bored enough, I'll make it clean:D)

  4. 
      
tsoome
yuripv
  1. Ship It!
  2. 
      
richlowe
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...