Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
+2013-11-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * core-file.c (dwfl_core_file_report): Remove the use of MAX.
+
2013-11-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* core-file.c (dwfl_core_file_report): Replaced variable sniffed by
int retval = dwfl_link_map_report (dwfl, auxv, auxv_size,
dwfl_elf_phdr_memory_callback, elf,
&r_debug_info);
- int listed = MAX (0, retval);
+ int listed = retval > 0 ? retval : 0;
/* Now sniff segment contents for modules hinted by information gathered
from DT_DEBUG. */