summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-09 00:27:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-09 00:27:33 +0300
commit2fa941b89177cf91cbbc84700c1d7631aa85bcc2 (patch)
treeebc3464db530afd540a67bb86ea735624841ec32 /src/resources
parentb4ec726fe28f65b15fd4cc7b0ef6fd72b7d24c02 (diff)
downloadplus-2fa941b89177cf91cbbc84700c1d7631aa85bcc2.tar.gz
plus-2fa941b89177cf91cbbc84700c1d7631aa85bcc2.tar.bz2
plus-2fa941b89177cf91cbbc84700c1d7631aa85bcc2.tar.xz
plus-2fa941b89177cf91cbbc84700c1d7631aa85bcc2.zip
Add some missing checks to other files found by paranucker.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/imagehelper.h4
-rw-r--r--src/resources/imagerect.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/imagehelper.h b/src/resources/imagehelper.h
index 5c33e8207..c2354b4f3 100644
--- a/src/resources/imagehelper.h
+++ b/src/resources/imagehelper.h
@@ -111,6 +111,6 @@ class ImageHelper notfinal
static RenderType mUseOpenGL;
};
-extern ImageHelper *imageHelper;
-extern ImageHelper *surfaceImageHelper;
+extern ImageHelper *imageHelper A_NONNULLPOINTER;
+extern ImageHelper *surfaceImageHelper A_NONNULLPOINTER;
#endif // RESOURCES_IMAGEHELPER_H
diff --git a/src/resources/imagerect.h b/src/resources/imagerect.h
index 5ecb3a342..7cc06b250 100644
--- a/src/resources/imagerect.h
+++ b/src/resources/imagerect.h
@@ -68,7 +68,7 @@ class ImageRect final
LOWER_RIGHT = 8
};
- Image *grid[9];
+ Image *grid[9] A_NONNULLPOINTER;
};
#endif // RESOURCES_IMAGERECT_H