From 7d5d7453c218506f91bc20f66aee070857c2c2c6 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 17 Jul 2013 16:02:55 -0400 Subject: [PATCH] util: drop call that can't do anything this._clearMessageQueue() is a noop when this.hasPendingMessages is false so calling it in that case doesn't make sense. This commit drops that call. https://bugzilla.gnome.org/show_bug.cgi?id=704347 --- js/gdm/util.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/gdm/util.js b/js/gdm/util.js index 04b2d49f8..c9af991cc 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -164,7 +164,6 @@ const ShellUserVerifier = new Lang.Class({ answerQuery: function(serviceName, answer) { if (!this.hasPendingMessages) { - this._clearMessageQueue(); this._userVerifier.call_answer_query(serviceName, answer, this._cancellable, null); } else { let signalId = this.connect('no-more-messages',