Skip to content
  • Andrzej Ostruszka's avatar
    e1000: clean LTO warnings · 089cdb39
    Andrzej Ostruszka authored
    
    
    During LTO build compiler reports some 'false positive' warnings about
    variables being possibly used uninitialized.  This patch silences these
    warnings.
    
    Exemplary compiler warning to suppress (with LTO enabled):
    error: 'link' may be used uninitialized in this function
    [-Werror=maybe-uninitialized]
      if (link) {
    
    Signed-off-by: default avatarAndrzej Ostruszka <aostruszka@marvell.com>
    
    Approved by:	imp
    Obtained from:	DPDK (46136031f19107f4e9b6b3a952cb7f57877a7f0f)
    MFC after:	1 week
    089cdb39