Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Feb 7, 2025
1 parent 4b984e1 commit 0388910
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 92 deletions.
2 changes: 1 addition & 1 deletion src/compiler/sema_decls.c
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ INLINE SourceSpan method_find_overload_span(Decl *method)
return method->attrs_resolved->overload;
}

static inline bool unit_add_base_extension_method(SemaContext *context, CompilationUnit *unit, Type *parent_type, Decl *method)
static inline bool unit_add_base_extension_method(UNUSED SemaContext *context, CompilationUnit *unit, Type *parent_type, Decl *method)
{
// Add it to the right list of extensions.
switch (method->visibility)
Expand Down
Loading

0 comments on commit 0388910

Please sign in to comment.