From: Itamar M. L. J. L. <ita...@gm...> - 2016-10-25 13:50:42
|
Hi! Changelog 2016-10-21 11:04 UTC+0300 Alexander Kresin (alex/at/belacy.ru) * source/server/letofunc.c ! Bug fixed in a handler of FLock() function in No_Save_WA mode. C:\Users\Itamar\Documents\GitHub\letodb-code [master = +3 ~0 -0 !]> hbmk2 .\rddl eto.hbp -rebuildall hbmk2: Harbour: Compilando módulos... hbmk2: Compilando... ../../../../source/client/letocl.c: In function 'leto_AddFields': ../../../../source/client/letocl.c:1761:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( *ptr != ';' ) ptr++; ptr++; ^~~~~ ../../../../source/client/letocl.c:1761:35: note: ...this statement, but the lat ter is misleadingly indented as if it is guarded by the 'while' while( *ptr != ';' ) ptr++; ptr++; ^~~ ../../../../source/client/letocl.c:1765:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( *ptr != ';' ) ptr++; ptr++; ^~~~~ ../../../../source/client/letocl.c:1765:35: note: ...this statement, but the lat ter is misleadingly indented as if it is guarded by the 'while' while( *ptr != ';' ) ptr++; ptr++; ^~~ ../../../../source/client/letocl.c:1767:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( *ptr != ';' ) ptr++; ptr++; ^~~~~ ../../../../source/client/letocl.c:1767:35: note: ...this statement, but the lat ter is misleadingly indented as if it is guarded by the 'while' while( *ptr != ';' ) ptr++; ptr++; ^~~ ../../../../source/client/letocl.c: In function 'LetoDbCreateTable': ../../../../source/client/letocl.c:1834:8: warning: potential null pointer deref erence [-Wnull-dereference] if( *ptr == '1' ) ^~~~ ../../../../source/client/letocl.c: In function 'LetoDbOpenTable': ../../../../source/client/letocl.c:1902:8: warning: potential null pointer deref erence [-Wnull-dereference] if( *ptr == '1' ) ^~~~ In file included from ../../../../source/client/letocl.c:66:0: ../../../../source/client/letocl.c: In function 'LetoDbSkip': C:/HB34/include/hbdefs.h:1394:80: warning: null pointer dereference [-Wnull-dere ference] ( ( ( HB_U32 ) (( const HB_BYTE * )( p )) [ 0 ] ) | \ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ../../../../source/client/letocl.c:845:19: note: in expansion of macro 'HB_GET_L E_UINT24' ulDataLen = HB_GET_LE_UINT24( ptr ) + 3; ^ C:/HB34/include/hbdefs.h:1395:80: warning: null pointer dereference [-Wnull-dere ference] ( ( HB_U32 ) (( const HB_BYTE * )( p )) [ 1 ] << 8 ) | \ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ../../../../source/client/letocl.c:845:19: note: in expansion of macro 'HB_GET_L E_UINT24' ulDataLen = HB_GET_LE_UINT24( ptr ) + 3; ^ C:/HB34/include/hbdefs.h:1396:80: warning: null pointer dereference [-Wnull-dere ference] ( ( HB_U32 ) (( const HB_BYTE * )( p )) [ 2 ] << 16 ) ) ) ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ../../../../source/client/letocl.c:845:19: note: in expansion of macro 'HB_GET_L E_UINT24' ulDataLen = HB_GET_LE_UINT24( ptr ) + 3; ^ ../../../../source/client/leto1.c: In function 'letoOrderInfo': ../../../../source/client/leto1.c:3390:14: warning: 'pConnection' may be used un initialized in this function [-Wmaybe-uninitialized] if( LetoCheckServerVer( pConnection, 100 ) ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../source/client/letomgmn.c: In function 'HB_FUN_LETO_MGGETUSERS': ../../../../source/client/letomgmn.c:552:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~ ../../../../source/client/letomgmn.c:552:59: note: ...this statement, but the la tter is misleadingly indented as if it is guarded by the 'if' if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~~ ../../../../source/client/letomgmn.c:561:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~ ../../../../source/client/letomgmn.c:561:65: note: ...this statement, but the la tter is misleadingly indented as if it is guarded by the 'if' if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~~ ../../../../source/client/letomgmn.c: In function 'HB_FUN_LETO_MGGETTABLES': ../../../../source/client/letomgmn.c:596:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~ ../../../../source/client/letomgmn.c:596:59: note: ...this statement, but the la tter is misleadingly indented as if it is guarded by the 'if' if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~~ ../../../../source/client/letomgmn.c:605:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~ ../../../../source/client/letomgmn.c:605:65: note: ...this statement, but the la tter is misleadingly indented as if it is guarded by the 'if' if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~~ ../../../../source/client/letomgmn.c: In function 'HB_FUN_LETO_MGGETLOCKS': ../../../../source/client/letomgmn.c:640:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~ ../../../../source/client/letomgmn.c:640:59: note: ...this statement, but the la tter is misleadingly indented as if it is guarded by the 'if' if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~~ ../../../../source/client/letomgmn.c:649:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~ ../../../../source/client/letomgmn.c:649:65: note: ...this statement, but the la tter is misleadingly indented as if it is guarded by the 'if' if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~~ ../../../../source/client/letomgmn.c: In function 'HB_FUN_LETO_VARGETLIST': ../../../../source/client/letomgmn.c:1139:16: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~ ../../../../source/client/letomgmn.c:1139:62: note: ...this statement, but the l atter is misleadingly indented as if it is guarded by the 'if' if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~~ ../../../../source/client/letomgmn.c:1142:16: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~ ../../../../source/client/letomgmn.c:1142:62: note: ...this statement, but the l atter is misleadingly indented as if it is guarded by the 'if' if( !LetoGetCmdItem( &ptr, szData ) ) return; ptr ++; ^~~ ../../../../source/client/letomgmn.c: In function 'HB_FUN_LETO_VARSET': ../../../../source/client/letomgmn.c:976:17: warning: 'pRetValue' may be used un initialized in this function [-Wmaybe-uninitialized] ptr = *pRetValue; ~~~~^~~~~~~~~~~~ In file included from ../../../../source/common/hbip.c:100:0: C:/mingw32/i686-w64-mingw32/include/winsock2.h:15:2: warning: #warning Please in clude winsock2.h before windows.h [-Wcpp] #warning Please include winsock2.h before windows.h ^~~~~~~ hbmk2: Criando biblioteca estática... lib\librddleto.a C:\Users\Itamar\Documents\GitHub\letodb-code [master = +3 ~0 -0 !]> Best regards, Itamar M. Lins Jr. |