From f9a6f67e275dd6d379ae9428e1c40f43d8d17386 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Thu, 17 Feb 2011 11:37:25 -0800 Subject: Track buffer end instead of buffer length, for a small perf improvement. --- src/upb_stream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/upb_stream.h') diff --git a/src/upb_stream.h b/src/upb_stream.h index fe66c63..229cf86 100644 --- a/src/upb_stream.h +++ b/src/upb_stream.h @@ -60,7 +60,7 @@ struct _upb_fielddef; // continue or not. typedef enum { // Caller should continue sending values to the sink. - UPB_CONTINUE, + UPB_CONTINUE = 0, // Stop processing for now; check status for details. If no status was set, // a generic error will be returned. If the error is resumable, it is not -- cgit v1.2.3