rahul003 commented on issue #7236: change unnecessarily longer array
URL: https://github.com/apache/incubator-mxnet/pull/7236#issuecomment-318757877
 
 
   Space wise it should be fine yes, but the goal was to address compiler 
warnings like below.
   What do you think the best way to do remove these warnings would be?
   
   ```
   src/io/iter_image_recordio_2.cc:407:17: warning: 'RGBA[1]' may be used 
uninitialized in this function [-Wmaybe-uninitialized]
   src/io/iter_image_recordio_2.cc:407:17: warning: 'RGBA[3]' may be used 
uninitialized in this function [-Wmaybe-uninitialized]
   src/io/iter_image_recordio_2.cc:407:17: warning: 'RGBA[2]' may be used 
uninitialized in this function [-Wmaybe-uninitialized]
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to