2011-07-16 14:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbmlzo/core.c
    ! fixed uninitialized variable in rare error case (signaled by msvc warning)
This commit is contained in:
Viktor Szakats
2011-07-16 12:54:05 +00:00
parent adfda22381
commit 648d35e8f9
2 changed files with 7 additions and 0 deletions

View File

@@ -16,6 +16,10 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-07-16 14:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmlzo/core.c
! fixed uninitialized variable in rare error case (signaled by msvc warning)
2011-07-16 14:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/3rd/minixml/config.h
! fixed redefinition of snprintf and vsnprintf macros (upstream bugs)

View File

@@ -133,7 +133,10 @@ HB_FUNC( HB_LZO1X_1_COMPRESS )
int r;
if( wrkmem == NULL )
{
r = LZO_E_OUT_OF_MEMORY; /* out of memory */
dst_len = 0;
}
else
{
r = lzo1x_1_compress( ( lzo_bytep ) src, src_len, dst, &dst_len, wrkmem );