From b6cd3bca280bd81e932ff51a3ec2b9fc70231646 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Tue, 20 Oct 2020 09:30:00 +0200 Subject: Whitespace cleanup in corelib/io MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Selective application of clang-format to follow our coding style where it is significantly off. Change-Id: I0ff4ed146fe53922691d5473d0c236f31d478a04 Reviewed-by: Friedemann Kleint Reviewed-by: Tor Arne Vestbø --- src/corelib/io/qfsfileengine_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/io/qfsfileengine_win.cpp') diff --git a/src/corelib/io/qfsfileengine_win.cpp b/src/corelib/io/qfsfileengine_win.cpp index 6b1ab5739e..84ba42f55a 100644 --- a/src/corelib/io/qfsfileengine_win.cpp +++ b/src/corelib/io/qfsfileengine_win.cpp @@ -842,7 +842,7 @@ uchar *QFSFileEnginePrivate::map(qint64 offset, qint64 size, NULL); // Since this is a special case, we check if the return value was NULL and if so // we change it to INVALID_HANDLE_VALUE to follow the logic inside this function. - if(0 == handle) + if (!handle) handle = INVALID_HANDLE_VALUE; #endif -- cgit v1.2.3