aboutsummaryrefslogtreecommitdiff
path: root/src/arctica-greeter.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-03-01 14:28:38 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-03-01 14:28:38 +0100
commitea1692f872f8075ef0b26ffafb3ab7ff075e9066 (patch)
treeeba8cd78b176e4429d2ab5c797711c14a17cc786 /src/arctica-greeter.vala
parent03b4ed0f9cd9bb90bf00f24057c82538cb6f6076 (diff)
downloadarctica-greeter-ea1692f872f8075ef0b26ffafb3ab7ff075e9066.tar.gz
arctica-greeter-ea1692f872f8075ef0b26ffafb3ab7ff075e9066.tar.bz2
arctica-greeter-ea1692f872f8075ef0b26ffafb3ab7ff075e9066.zip
src/: Get rid of various vala interpreter warnings.
Diffstat (limited to 'src/arctica-greeter.vala')
-rw-r--r--src/arctica-greeter.vala9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index 309503b..ecbcc01 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -549,9 +549,9 @@ public class ArcticaGreeter : Object
var time_post = GLib.get_monotonic_time ();
var time_diff = time_post - time_pre;
assert (0 <= time_diff);
- var time_diff_sec = time_diff / 1000000;
- var time_diff_msec = time_diff / 1000;
- var time_diff_usec = time_diff % 1000000;
+ // var time_diff_sec = time_diff / 1000000;
+ // var time_diff_msec = time_diff / 1000;
+ // var time_diff_usec = time_diff % 1000000;
// debug ("Time passed: %" + int64.FORMAT + " s, %" + int64.FORMAT + " ms, %" + int64.FORMAT + " us", time_diff_sec, time_diff_msec, time_diff_usec);
}
@@ -1015,6 +1015,9 @@ public class ArcticaGreeter : Object
*
* We want to do this before creating the actual greeter, since the
* latter is using AGSettings quite extensively.
+ *
+ * This will throw a Vala warning: "local variable `agsettings' declared
+ * but never used". Which can be ignored.
*/
var agsettings = new AGSettings ();