Skip to content

Commit d3c0811

Browse files
IvanUkhovgitster
authored andcommitted
parse-options.h: OPTION_{BIT,SET_INT} do not store pointer to defval
When 20d1c65 (parse-options: remove unused OPT_SET_PTR, 2014-03-30) removed OPT_SET_PTR, the comment in the header that describes what the option did to defval field was left behind by mistake. Remove it. Signed-off-by: Ivan Ukhov <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 20d1c65 commit d3c0811

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

parse-options.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ typedef int parse_opt_ll_cb(struct parse_opt_ctx_t *ctx,
9595
*
9696
* `defval`::
9797
* default value to fill (*->value) with for PARSE_OPT_OPTARG.
98-
* OPTION_{BIT,SET_INT} store the {mask,integer,pointer} to put in
99-
* the value when met.
98+
* OPTION_{BIT,SET_INT} store the {mask,integer} to put in the value when met.
10099
* CALLBACKS can use it like they want.
101100
*/
102101
struct option {

0 commit comments

Comments
 (0)