Skip to content

Commit ee262ff

Browse files
committed
fix compiler warning
now operation_copy is only used when LEAK is defined
1 parent 8911ec5 commit ee262ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libvips/iofuncs/cache.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ vips_operation_copy_argument(VipsObject *object,
456456
return NULL;
457457
}
458458

459+
#ifdef DEBUG_LEAK
459460
static VipsOperation *
460461
vips_operation_copy(VipsOperation *operation)
461462
{
@@ -467,6 +468,7 @@ vips_operation_copy(VipsOperation *operation)
467468

468469
return new;
469470
}
471+
#endif /*DEBUG_LEAK*/
470472

471473
static void *
472474
vips_object_unref_arg(VipsObject *object,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy