summaryrefslogtreecommitdiffstats
path: root/generic/tclBinary.c
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2009-07-16 21:24:37 (GMT)
committerdgp <dgp@noemail.net>2009-07-16 21:24:37 (GMT)
commit3dddcda47ebfad3b6150f5a4d31d1e677cf55938 (patch)
tree2212f61d925aabd55784a55ed9182b092a9bf383 /generic/tclBinary.c
parent50110cab6cb49be574d52f3dd827c06cca7cdc49 (diff)
downloadtcl-3dddcda47ebfad3b6150f5a4d31d1e677cf55938.zip
tcl-3dddcda47ebfad3b6150f5a4d31d1e677cf55938.tar.gz
tcl-3dddcda47ebfad3b6150f5a4d31d1e677cf55938.tar.bz2
* generic/tclBinary.c: Removed unused variables.
* generic/tclCmdIL.c: * generic/tclCompile.c: * generic/tclExecute.c: * generic/tclHash.c: * generic/tclIOUtil.c: * generic/tclVar.c: * generic/tclBasic.c: Silence compiler warnings about ClientData. * generic/tclProc.c: * generic/tclScan.c: Typo in ACCEPT_NAN configuration. * generic/tclStrToD.c: Set floating point control register on MIPS systems so that the gradual underflow expected by Tcl is in effect. [Bug 2819200] FossilOrigin-Name: b0e94fe52cf1bae5acfd5a9ed00d80e25c680b3c
Diffstat (limited to 'generic/tclBinary.c')
-rw-r--r--generic/tclBinary.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c
index 68409d1..8a3aeac 100644
--- a/generic/tclBinary.c
+++ b/generic/tclBinary.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclBinary.c,v 1.54 2009/02/03 23:34:32 nijtmans Exp $
+ * RCS: @(#) $Id: tclBinary.c,v 1.55 2009/07/16 21:24:39 dgp Exp $
*/
#include "tclInt.h"
@@ -1159,7 +1159,6 @@ BinaryScanCmd(
* string. */
Tcl_Obj *resultPtr = NULL; /* Object holding result buffer. */
unsigned char *buffer; /* Start of result buffer. */
- unsigned char *cursor; /* Current position within result buffer. */
const char *errorString;
const char *str;
int offset, size, length;
@@ -1178,7 +1177,6 @@ BinaryScanCmd(
Tcl_InitHashTable(numberCachePtr, TCL_ONE_WORD_KEYS);
buffer = Tcl_GetByteArrayFromObj(objv[1], &length);
format = TclGetString(objv[2]);
- cursor = buffer;
arg = 3;
offset = 0;
while (*format != '\0') {