otrv4 / libotr-ng

A new implementation of OTR with support for version 4. This is a mirror of https://bugs.otr.im/otrv4/libotr-ng
Other
43 stars 9 forks source link

Fix some Splint warnings adding related to `nullret` rule in some functions #203

Closed pedropalau closed 5 years ago

pedropalau commented 5 years ago

This is related to Issue #119.

Splint nullret rule refers to a function that returns a possibly null pointer, but is not declared using /*@null@*/ annotation of result.

This PR add /*@null@*/ annotation to the return value declaration of some functions.

claucece commented 5 years ago

Awesome! I'm merging this.