summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-04-16 11:20:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-04-16 11:20:54 (GMT)
commitbe0324597aa8d46f7ad4f8608ba2644b40ffd504 (patch)
tree786468d9876d90fd6815b063eeb2cf63e483bca6 /win/tclWinSock.c
parentfcca5df8d6fb5bfd7dd4b6d10dbef115565ddc3f (diff)
downloadtcl-be0324597aa8d46f7ad4f8608ba2644b40ffd504.zip
tcl-be0324597aa8d46f7ad4f8608ba2644b40ffd504.tar.gz
tcl-be0324597aa8d46f7ad4f8608ba2644b40ffd504.tar.bz2
Remove unused variable, don't use deprecated function, some formatting.
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index 8881cf2..3990111 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -280,7 +280,7 @@ static const Tcl_ChannelType tcpChannelType = {
static void
InitSockets(void)
{
- DWORD id, err;
+ DWORD id;
ThreadSpecificData *tsdPtr = TclThreadDataKeyGet(&dataKey);
if (!initialized) {
@@ -2414,7 +2414,7 @@ SocketThread(
*
* Side effects:
* The flags for the given socket are updated to reflect the event that
- * occured.
+ * occurred.
*
*----------------------------------------------------------------------
*/