mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-13 08:07:23 +00:00
Work around "maybe-uninitialized" warning
This commit is contained in:
parent
9ff163218f
commit
16737e8fa3
1 changed files with 3 additions and 3 deletions
|
@ -146,7 +146,7 @@ finish:
|
||||||
}
|
}
|
||||||
|
|
||||||
int rtkit_get_max_realtime_priority(DBusConnection *connection) {
|
int rtkit_get_max_realtime_priority(DBusConnection *connection) {
|
||||||
long long retval;
|
long long retval = 0;
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
err = rtkit_get_int_property(connection, "MaxRealtimePriority", &retval);
|
err = rtkit_get_int_property(connection, "MaxRealtimePriority", &retval);
|
||||||
|
@ -154,7 +154,7 @@ int rtkit_get_max_realtime_priority(DBusConnection *connection) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int rtkit_get_min_nice_level(DBusConnection *connection, int* min_nice_level) {
|
int rtkit_get_min_nice_level(DBusConnection *connection, int* min_nice_level) {
|
||||||
long long retval;
|
long long retval = 0;
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
err = rtkit_get_int_property(connection, "MinNiceLevel", &retval);
|
err = rtkit_get_int_property(connection, "MinNiceLevel", &retval);
|
||||||
|
@ -164,7 +164,7 @@ int rtkit_get_min_nice_level(DBusConnection *connection, int* min_nice_level) {
|
||||||
}
|
}
|
||||||
|
|
||||||
long long rtkit_get_rttime_nsec_max(DBusConnection *connection) {
|
long long rtkit_get_rttime_nsec_max(DBusConnection *connection) {
|
||||||
long long retval;
|
long long retval = 0;
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
err = rtkit_get_int_property(connection, "RTTimeNSecMax", &retval);
|
err = rtkit_get_int_property(connection, "RTTimeNSecMax", &retval);
|
||||||
|
|
Loading…
Reference in a new issue