diff options
author | Joshua Haberman <joshua@reverberate.org> | 2010-06-26 14:52:41 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2010-06-26 14:52:41 -0700 |
commit | 6bf58a7328fb5241e2f66ef39c60e4483acfb19d (patch) | |
tree | eb6a248c1ae23feb0b771e180ffe3e79e79c12d9 /src/upb_string.h | |
parent | 35e5c248bee19703b7e3c9e43d7bd8fd7aa2a79d (diff) |
Incremental progress on upb_def.
Diffstat (limited to 'src/upb_string.h')
-rw-r--r-- | src/upb_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_string.h b/src/upb_string.h index eab7f54..7b9f8db 100644 --- a/src/upb_string.h +++ b/src/upb_string.h @@ -70,7 +70,7 @@ INLINE upb_strlen_t upb_string_len(upb_string *str) { return str->len; } // upb_string_endread is called(). No other functions may be called on the // string during this window except upb_string_len(). INLINE const char *upb_string_getrobuf(upb_string *str) { return str->ptr; } -INLINE void upb_string_endread(upb_string *str) {} +INLINE void upb_string_endread(upb_string *str) { (void)str; } // Attempts to recycle the string "str" so it may be reused and have different // data written to it. The returned string is either "str" if it could be |