summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2019-04-18 08:31:11 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2019-04-18 08:31:11 (GMT)
commit9cf9c0a5e5c1bc1e2cf81abce0c91a9acd632977 (patch)
tree20c949fe290767c77ca8272c804e2ab6e4d9751e /generic/tclBasic.c
parent522f29c7ccb2ac30aa107ce07f227c73eab3f944 (diff)
downloadtcl-9cf9c0a5e5c1bc1e2cf81abce0c91a9acd632977.zip
tcl-9cf9c0a5e5c1bc1e2cf81abce0c91a9acd632977.tar.gz
tcl-9cf9c0a5e5c1bc1e2cf81abce0c91a9acd632977.tar.bz2
Style corrections and warning elimination
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index e377951..84c87d0 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -4925,7 +4925,7 @@ TEOV_Error(
int objc = PTR2INT(data[0]);
Tcl_Obj **objv = data[1];
- if ((result == TCL_ERROR) && !(iPtr->flags & ERR_ALREADY_LOGGED)){
+ if ((result == TCL_ERROR) && !(iPtr->flags & ERR_ALREADY_LOGGED)) {
/*
* If there was an error, a command string will be needed for the
* error log: get it out of the itemPtr. The details depend on the
@@ -5134,7 +5134,7 @@ TEOV_RunLeaveTraces(
const char *command = TclGetStringFromObj(commandPtr, &length);
if (!(cmdPtr->flags & CMD_IS_DELETED)) {
- if (cmdPtr->flags & CMD_HAS_EXEC_TRACES){
+ if (cmdPtr->flags & CMD_HAS_EXEC_TRACES) {
traceCode = TclCheckExecutionTraces(interp, command, length,
cmdPtr, result, TCL_TRACE_LEAVE_EXEC, objc, objv);
}