diff options
author | Jeremy Henty <onepoint@starurchin.org> | 2009-05-03 14:42:26 -0400 |
---|---|---|
committer | Jeremy Henty <onepoint@starurchin.org> | 2009-05-03 14:42:26 -0400 |
commit | 1f59cba7117d9b9d6d5ea04b09d1688fec814531 (patch) | |
tree | 4e9f159287db9ab3e34d7d79ac31255081ba765f /src/image.cc | |
parent | 5e6c65f288006a0c988a91e8aba0d4a23c080299 (diff) |
Removed redundant caller NULL checks already in the API
Diffstat (limited to 'src/image.cc')
-rw-r--r-- | src/image.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/image.cc b/src/image.cc index 63d630c7..8ecf2a72 100644 --- a/src/image.cc +++ b/src/image.cc @@ -65,6 +65,7 @@ static void Image_free(DilloImage *Image) /* * Unref and free if necessary + * Do nothing if the argument is NULL */ void a_Image_unref(DilloImage *Image) { @@ -75,6 +76,7 @@ void a_Image_unref(DilloImage *Image) /* * Add a reference to an Image struct + * Do nothing if the argument is NULL */ void a_Image_ref(DilloImage *Image) { |