Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
thradams committed Mar 22, 2024
1 parent fcfa543 commit a37a539
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ s_warnings[] = {
{W_ARRAY_INDIRECTION,"array-indirection"},
{W_OUT_OF_BOUNDS, "out-of-bounds"},
{W_ASSIGNMENT_OF_ARRAY_PARAMETER, "array-parameter-assignment"},
{W_CONDITIONAL_IS_CONSTANT,"conditional-constant"}

{W_CONDITIONAL_IS_CONSTANT,"conditional-constant"},
{W_OWNERSHIP_NULL_OBJECT, "too-deep"}
};

static_assert((sizeof(s_warnings) / sizeof(s_warnings[0])) < 64);
Expand Down
1 change: 1 addition & 0 deletions src/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ enum diagnostic_id {

/*ownership type system errors*/
W_OWNERSHIP_MISSING_OWNER_QUALIFIER,
W_OWNERSHIP_NULL_OBJECT,
W_OWNERSHIP_NOT_OWNER,
W_OWNERSHIP_USING_TEMPORARY_OWNER,
W_OWNERSHIP_MOVE_ASSIGNMENT_OF_NON_OWNER,
Expand Down

0 comments on commit a37a539

Please sign in to comment.