Markus Elfring

Results 791 issues of Markus Elfring

Would you like to add more error handling for return values from functions like the following? - [calloc](http://pubs.opengroup.org/onlinepubs/9699919799/functions/calloc.html "Memory allocation") ⇒ [xtbuild](https://github.com/glouw/tinn/blob/0228fdb32e89270fece8c1e186d1f891a4452f92/Tinn.c#L109) - [fopen](http://pubs.opengroup.org/onlinepubs/9699919799/functions/fopen.html "Open a stream") ⇒ [xtsave](https://github.com/glouw/tinn/blob/0228fdb32e89270fece8c1e186d1f891a4452f92/Tinn.c#L128)

[An extra null pointer check is not needed in functions](https://isocpp.org/wiki/faq/freestore-mgmt#delete-handles-null "Do I need to check for null before delete p?") like the following. - [cineon::Codec](https://github.com/OpenImageIO/oiio/blob/fa18406742e8615eeebd1d4804ce6e7255b8232e/src/cineon.imageio/libcineon/Codec.cpp#L48 "Destructor for cineon::Codec") - [cineon::Writer::WriteElement](https://github.com/OpenImageIO/oiio/blob/fa18406742e8615eeebd1d4804ce6e7255b8232e/src/cineon.imageio/libcineon/Writer.cpp#L296...

[An extra null pointer check is not needed in functions](https://isocpp.org/wiki/faq/freestore-mgmt#delete-handles-null "Do I need to check for null before delete p?") like the following. - [PartProcessor::closeFiles](https://github.com/amrayn/easyloggingpp/blob/8489989bb26c6371df103f6cbced3fbee1bc3c2f/samples/Qt/file-splitter-joiner/partprocessor.cpp#L44 "PartProcessor::closeFiles function") - [safeDelete](https://github.com/amrayn/easyloggingpp/blob/8489989bb26c6371df103f6cbced3fbee1bc3c2f/src/easylogging%2B%2B.h#L861 "safeDelete...

:eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to [increase the usage of augmented assignment statements](https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements "Augmented assignment statements") accordingly....

feature

:eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to [increase the usage of augmented assignment statements](https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements "Augmented assignment statements") accordingly....

## Feature Request :eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to [increase the usage of augmented assignment statements](https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements "Augmented...

:eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to [increase the usage of compound operators](https://docs.oracle.com/javase/specs/jls/se17/html/jls-15.html#jls-15.26 "Description for assignment operators") accordingly....

Trilean values can be displayed by chart software in principle. I hope also that ternary data can be configured and presented in more convenient ways for clearer diagrams of multiple...

Would you like to [wrap any pointers](https://github.com/sylefeb/Silice/blob/f0b87e6c6e3154acfa94a8b183385122d7060ba0/src/tga.cpp#L416 "Update candidate: ReadTGAFile()") with the class template “[std::unique_ptr](https://en.wikipedia.org/wiki/Smart_pointer#unique_ptr "Description for the usage of smart pointers")”?

Would you like to add more error handling for return values from functions like the following? - [fclose](https://pubs.opengroup.org/onlinepubs/9699919799/functions/fclose.html "Close a stream.") ⇒ [lua_save_table_as_image_with_palette](https://github.com/sylefeb/Silice/blob/9817a251d8eb1a0dea8fad74b5c2da2448e7d904/src/LuaPreProcessor.cpp#L482) - [fread](https://pubs.opengroup.org/onlinepubs/9699919799/functions/fread.html "Binary input") ⇒ [ReadTGAFile](https://github.com/sylefeb/Silice/blob/f0b87e6c6e3154acfa94a8b183385122d7060ba0/src/tga.cpp#L427)