← Back to team overview

hugin-devs team mailing list archive

[Bug 1306125] [NEW] [panocanvas.cpp:160]: (warning) memset() called to fill 0 bytes of 'tmp'

 

Public bug reported:


  memset(tmp,m_maxsize*m_maxsize,0);

Better code would be

  memset( tmp, 0, m_maxsize * m_maxsize);

** Affects: hugin
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1306125

Title:
  [panocanvas.cpp:160]: (warning) memset() called to fill 0 bytes of
  'tmp'

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  
    memset(tmp,m_maxsize*m_maxsize,0);

  Better code would be

    memset( tmp, 0, m_maxsize * m_maxsize);

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1306125/+subscriptions


Follow ups

References