bugpng++, a C++ wrapper for libpng - Bugs: bug #49173, Compiler warning: Unused parameter...

 
 

bug #49173: Compiler warning: Unused parameter 'index'

Submitter:  None
Submitted:  Sat 24 Sep 2016 01:40:51 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 07 Sep 2017 08:29:44 PM UTC, comment #1: 

Correct, this was reported separately and actually causes compilation error if the put_row() method is used.  Fixed now in r144.

Alexander Shulgin <alexshulgin>
Group administrator
Sat 24 Sep 2016 01:40:51 PM UTC, original submission:  

When compiling, I am warned:

solid_pixel_buffer.hpp:165:29: warning: unused parameter 'index'

and it seems like in the implementationof put_pixel, get_row(index) instead of just get_row() should be called to actually put into the correct row. I do however have no code using a solid_pixel_buffer at hand, so I can't confirm it.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by alexshulgin (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-09-07 alexshulgin Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code