diff options
author | dgp <dgp@users.sourceforge.net> | 2012-03-07 21:21:51 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2012-03-07 21:21:51 (GMT) |
commit | 7761032c22bf6b958922cea74f7d5339787cd469 (patch) | |
tree | 3ea859b63f4cb1250938568405b1553fe0d1eb15 | |
parent | b4c5e66dda9c9ccea2ba0874730108618c7a49a2 (diff) | |
download | tcl-bug_3485833.zip tcl-bug_3485833.tar.gz tcl-bug_3485833.tar.bz2 |
Style guide and tidying up.bug_3485833
-rw-r--r-- | generic/tclCompile.h | 1 | ||||
-rw-r--r-- | generic/tclExecute.c | 6 | ||||
-rw-r--r-- | generic/tclNamesp.c | 1 |
3 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h index 6f0e31d..c035a03 100644 --- a/generic/tclCompile.h +++ b/generic/tclCompile.h @@ -843,7 +843,6 @@ typedef struct { int identity; } i; } TclOpCmdClientData; - /* *---------------------------------------------------------------- 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); diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c index 888f70b..f8b22ab 100644 --- a/generic/tclNamesp.c +++ b/generic/tclNamesp.c @@ -25,7 +25,6 @@ */ #include "tclInt.h" -#include "tclCompile.h" /* * Thread-local storage used to avoid having a global lock on data that is not |