Closed stefan11111 closed 3 months ago
Add (void)! casts to suppress -Wunused-result warnings. Is this what is desired, or should I add some checking? for example:
if (seteuid (pwent->pw_uid) < 0) { fprintf(stderr, "Could not seteuid\n"): exit(1); }
libzvt comes from https://download.gnome.org/sources/libzvt/2.0/libzvt-2.0.1.tar.gz and it's good if we can minimize changes in this external code. Your proposal with (void)! is concise, I like it!
Add (void)! casts to suppress -Wunused-result warnings. Is this what is desired, or should I add some checking? for example: