summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-03-07 21:21:51 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-03-07 21:21:51 (GMT)
commit7761032c22bf6b958922cea74f7d5339787cd469 (patch)
tree3ea859b63f4cb1250938568405b1553fe0d1eb15 /generic/tclExecute.c
parentb4c5e66dda9c9ccea2ba0874730108618c7a49a2 (diff)
downloadtcl-7761032c22bf6b958922cea74f7d5339787cd469.zip
tcl-7761032c22bf6b958922cea74f7d5339787cd469.tar.gz
tcl-7761032c22bf6b958922cea74f7d5339787cd469.tar.bz2
Style guide and tidying up.bug_3485833
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 0a98d95..1928dd1 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -7772,11 +7772,13 @@ TclGetSrcInfoForCmd(
CmdFrame *cfPtr = iPtr->cmdFramePtr;
ByteCode *codePtr;
- if (!cfPtr)
+ if (!cfPtr) {
return NULL;
+ }
codePtr = (ByteCode *) cfPtr->data.tebc.codePtr;
- if (!codePtr || !cfPtr->data.tebc.pc)
+ if (!codePtr || !cfPtr->data.tebc.pc) {
return NULL;
+ }
return GetSrcInfoForPc((unsigned char *) cfPtr->data.tebc.pc,
codePtr, lenPtr);