Skip to content

Commit

Permalink
Add [[maybe_unused]]
Browse files Browse the repository at this point in the history
  • Loading branch information
akashlevy committed Nov 5, 2024
1 parent f27ebc2 commit bf5db35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tcl/StaTclTypes.i
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ tclListNetworkSet1(Tcl_Obj *const source,
return set;
}

static StringSet *
[[maybe_unused]] static StringSet *
tclListSetConstChar(Tcl_Obj *const source,
Tcl_Interp *interp)
{
Expand Down Expand Up @@ -233,7 +233,7 @@ tclListSeqConstChar(Tcl_Obj *const source,
return nullptr;
}

static StdStringSet *
[[maybe_unused]] static StdStringSet *
tclListSetStdString(Tcl_Obj *const source,
Tcl_Interp *interp)
{
Expand Down Expand Up @@ -367,7 +367,7 @@ objectListNext(const char *list,
}
}

static Tcl_Obj *
[[maybe_unused]] static Tcl_Obj *
tclArcDcalcArg(ArcDcalcArg &gate,
Tcl_Interp *interp)
{
Expand Down Expand Up @@ -406,7 +406,7 @@ tclArcDcalcArg(ArcDcalcArg &gate,
return list;
}

static ArcDcalcArg
[[maybe_unused]] static ArcDcalcArg
arcDcalcArgTcl(Tcl_Obj *obj,
Tcl_Interp *interp)
{
Expand Down

0 comments on commit bf5db35

Please sign in to comment.