All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit ff632ca0 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix for 5.4 build; labels at ends of compound statements require a

null statement. Also fix a couple other compiler warnings about
integer comparisons.
parent 1861765a
...@@ -1797,6 +1797,7 @@ COMMAND_PROTOTYPE(doaccounts) ...@@ -1797,6 +1797,7 @@ COMMAND_PROTOTYPE(doaccounts)
} }
auxgids[gcount++] = newgid; auxgids[gcount++] = newgid;
skipit: skipit:
;
} }
nrows--; nrows--;
...@@ -4105,12 +4106,12 @@ int myevent_send(address_tuple_t tuple) { ...@@ -4105,12 +4106,12 @@ int myevent_send(address_tuple_t tuple) {
} }
notification = event_notification_alloc(event_handle,tuple); notification = event_notification_alloc(event_handle,tuple);
if (notification == NULL) { if (notification == (event_notification_t) NULL) {
error("myevent_send: Unable to allocate notification!"); error("myevent_send: Unable to allocate notification!");
return 1; return 1;
} }
if (event_notify(event_handle, notification) == NULL) { if (! event_notify(event_handle, notification)) {
event_notification_free(event_handle, notification); event_notification_free(event_handle, notification);
error("myevent_send: Unable to send notification!"); error("myevent_send: Unable to send notification!");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment