/* Just read what's in the UDP fd and discard it as we always read
* from the raw fd */
- read(ctx->udp_fd, buffer, sizeof(buffer));
+ (void)read(ctx->udp_fd, buffer, sizeof(buffer));
}
static void
/* Just read what's in the UDP fd and discard it as we always read
* from the raw fd */
- read(state->udp_fd, buffer, sizeof(buffer));
+ (void)read(state->udp_fd, buffer, sizeof(buffer));
}
static int
while (fscanf(fp, "%255s : ", buf) != EOF) {
if (strncmp(buf, mproc, strlen(mproc)) == 0) {
- fscanf(fp, "%255s", buf);
+ (void)fscanf(fp, "%255s", buf);
fclose(fp);
return snprintf(str, len, ":%s", buf);
}