8819 x86 unix: variable set but not used

Review Request #746 — Created Nov. 19, 2017 and submitted

tsoome
illumos-gate
8819
5f45ffc...
general
8819 x86 unix: variable set but not used


tsoome
yuripv
  1. Any idea why gcc thinks it's unused?

    1. vm_pagelist.c: on x86, the PAGE_NEXT_PFN_FOR_COLOR() macro is not using color_mask but on sparc it does.
      lgrpplat.c: dev_vendor = inl(PCI_CONFDATA);
      hat_kdi.c: the variable is not used with xpv build.

      Since all cases have lint suppression too, I would rather keep this all as is - I have no time for now to dig into details there.

  2. 
      
yuripv
  1. Ship It!
  2. 
      
alp
  1. Ship It!
  2. 
      
tsoome
tsoome
Review request changed

Status: Closed (submitted)

Loading...