diff options
author | 2016-07-26 08:59:40 +0000 | |
---|---|---|
committer | 2016-07-26 09:31:36 +0000 | |
commit | d689475dafa984d5b262af2739e4181b2356f329 (patch) | |
tree | f36191e94e95bac1b35fe6ee5ca2e7b9fde909ef /src | |
parent | 9a289b3cd6072055b2705b951456276df2f0794a (diff) |
cpp: fix documentation of return value of GetNullaryOption() function
GetNullaryOption() is a function whose return type is bool, which can
only return two possible values, true or false, and thus can not return NULL.
--
Change-Id: If9fc622d7132b15268bdcc76aed8d04fe5b92bc7
Reviewed-on: https://bazel-review.googlesource.com/#/c/4140/2
MOS_MIGRATED_REVID=128448779
Diffstat (limited to 'src')
-rw-r--r-- | src/main/cpp/blaze_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/cpp/blaze_util.h b/src/main/cpp/blaze_util.h index 4b477d356b..68fd9bbe4e 100644 --- a/src/main/cpp/blaze_util.h +++ b/src/main/cpp/blaze_util.h @@ -80,7 +80,7 @@ const char* GetUnaryOption(const char *arg, // Returns true iff 'arg' equals 'key'. // Dies with a syntax error if arg starts with 'key='. -// Returns NULL otherwise. +// Returns false otherwise. bool GetNullaryOption(const char *arg, const char *key); // Enable messages mostly of interest to developers. |