diff --git a/proc/diskstats.c b/proc/diskstats.c index 55125ff8..c72369c2 100644 --- a/proc/diskstats.c +++ b/proc/diskstats.c @@ -1036,7 +1036,6 @@ PROCPS_EXPORT struct diskstats_result *xtra_diskstats_val ( if (str[0] && (strcmp(typestr, str))) { fprintf(stderr, "%s line %d: was %s, expected %s\n", file, lineno, typestr, str); - return NULL; } return &stack->head[relative_enum]; } // end: xtra_diskstats_val diff --git a/proc/meminfo.c b/proc/meminfo.c index 42e1f9a7..ee8ecbe3 100644 --- a/proc/meminfo.c +++ b/proc/meminfo.c @@ -908,7 +908,6 @@ PROCPS_EXPORT struct meminfo_result *xtra_meminfo_val ( if (str[0] && (strcmp(typestr, str))) { fprintf(stderr, "%s line %d: was %s, expected %s\n", file, lineno, typestr, str); - return NULL; } return &stack->head[relative_enum]; } // end: xtra_meminfo_val diff --git a/proc/pids.c b/proc/pids.c index f8816a0d..96afbc78 100644 --- a/proc/pids.c +++ b/proc/pids.c @@ -1525,7 +1525,6 @@ PROCPS_EXPORT struct pids_result *xtra_pids_val ( if (str[0] && (strcmp(typestr, str))) { fprintf(stderr, "%s line %d: was %s, expected %s\n", file, lineno, typestr, str); - return NULL; } return &stack->head[relative_enum]; } // end: xtra_pids_val diff --git a/proc/slabinfo.c b/proc/slabinfo.c index a1989ff2..afad3086 100644 --- a/proc/slabinfo.c +++ b/proc/slabinfo.c @@ -1065,7 +1065,6 @@ PROCPS_EXPORT struct slabinfo_result *xtra_slabinfo_val ( if (str[0] && (strcmp(typestr, str))) { fprintf(stderr, "%s line %d: was %s, expected %s\n", file, lineno, typestr, str); - return NULL; } return &stack->head[relative_enum]; } // end: xtra_slabinfo_val diff --git a/proc/stat.c b/proc/stat.c index 45ebcde4..5c3f3b87 100644 --- a/proc/stat.c +++ b/proc/stat.c @@ -1183,7 +1183,6 @@ PROCPS_EXPORT struct stat_result *xtra_stat_val ( if (str[0] && (strcmp(typestr, str))) { fprintf(stderr, "%s line %d: was %s, expected %s\n", file, lineno, typestr, str); - return NULL; } return &stack->head[relative_enum]; } // end: xtra_stat_val diff --git a/proc/vmstat.c b/proc/vmstat.c index 3f6cb8ad..6cf8c52d 100644 --- a/proc/vmstat.c +++ b/proc/vmstat.c @@ -1304,7 +1304,6 @@ PROCPS_EXPORT struct vmstat_result *xtra_vmstat_val ( if (str[0] && (strcmp(typestr, str))) { fprintf(stderr, "%s line %d: was %s, expected %s\n", file, lineno, typestr, str); - return NULL; } return &stack->head[relative_enum]; } // end: xtra_vmstat_val