Commit 7cc25f91 authored by Max Kellermann's avatar Max Kellermann

fs/io/Reader: add "nonnull" attribute

parent 5d2506e6
...@@ -45,6 +45,7 @@ public: ...@@ -45,6 +45,7 @@ public:
* @return the number of bytes read into the given buffer or 0 * @return the number of bytes read into the given buffer or 0
* on error/end-of-stream * on error/end-of-stream
*/ */
gcc_nonnull_all
virtual size_t Read(void *data, size_t size, Error &error) = 0; virtual size_t Read(void *data, size_t size, Error &error) = 0;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment