Skip to content

Commit

Permalink
Backport tclIcu.c improvements from 9.0. Some indenting
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Sep 19, 2024
1 parent e28d7f1 commit 18a79e6
Show file tree
Hide file tree
Showing 3 changed files with 252 additions and 159 deletions.
6 changes: 3 additions & 3 deletions generic/tclArithSeries.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,11 +434,11 @@ assignNumber(

if (Tcl_GetNumberFromObj(interp, numberObj, &clientData,
&tcl_number_type) != TCL_OK) {
return TCL_ERROR;
return TCL_ERROR;
}
if (tcl_number_type == TCL_NUMBER_BIG) {
/* bignum is not supported yet. */
Tcl_WideInt w;
/* bignum is not supported yet. */
Tcl_WideInt w;
(void)Tcl_GetWideIntFromObj(interp, numberObj, &w);
return TCL_ERROR;
}
Expand Down
2 changes: 1 addition & 1 deletion generic/tclEnsemble.c
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ SetEnsembleConfigOptions(
Tcl_Size len;
int allocatedMapFlag = 0;
Tcl_Obj *subcmdObj = NULL, *mapObj = NULL, *paramObj = NULL,
*unknownObj = NULL; /* Defaults, silence gcc 4 warnings */
*unknownObj = NULL; /* Defaults, silence gcc 4 warnings */
Tcl_Obj *listObj;
Tcl_DictSearch search;
int permitPrefix, flags = 0; /* silence gcc 4 warning */
Expand Down
Loading

0 comments on commit 18a79e6

Please sign in to comment.