From debf33a962c37b34dc8f44fefe0913bbb3238289 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Czerpak?= Date: Fri, 13 Nov 2015 14:03:45 +0100 Subject: [PATCH] 2015-11-13 14:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filebuf.c * removed unused after last modification assignment --- ChangeLog.txt | 4 ++++ src/rtl/filebuf.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index da048a89ca..c7ed5c5ffd 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,10 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2015-11-13 14:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * src/rtl/filebuf.c + * removed unused after last modification assignment + 2015-11-13 10:29 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filebuf.c ! fixed file handle sharing in POSIX systems when writeonly mode is used diff --git a/src/rtl/filebuf.c b/src/rtl/filebuf.c index f91d9523a9..e77f9d361d 100644 --- a/src/rtl/filebuf.c +++ b/src/rtl/filebuf.c @@ -709,8 +709,6 @@ static void s_fileClose( PHB_FILE pFile ) hb_xfree( pFile ); } - else - pFile = NULL; hb_threadLeaveCriticalSection( &s_fileMtx ); hb_vmLock();