OpenZWave / open-zwave

a C++ library to control Z-Wave Networks via a USB Z-Wave Controller.
http://www.openzwave.net/
GNU Lesser General Public License v3.0
1.05k stars 916 forks source link

Remove an unnecessary null pointer check #1572

Open elfring opened 6 years ago

elfring commented 6 years ago

An extra null pointer check is not needed in the destructor for the class “ValueRaw”.

nihilus commented 5 years ago

Is this valid for arrays as well? It doesn't explicitly states that.

elfring commented 5 years ago

I expect this.