mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Bug 826158 - Fix two -Wself-assign warnings in widget/gtk2/. r=karlt.
--HG-- extra : rebase_source : cfbd0c5807e7b067a881583c6ac9f48b2848c021
This commit is contained in:
parent
2115fe535b
commit
4f6d999bf3
@ -1,6 +1,5 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* vim:expandtab:shiftwidth=4:tabstop=4:
|
||||
*/
|
||||
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* vim: set ts=4 et sw=4 tw=80: */
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* vim:expandtab:shiftwidth=4:tabstop=4:
|
||||
*/
|
||||
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* vim: set ts=4 et sw=4 tw=80: */
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* vim:expandtab:shiftwidth=4:tabstop=4:
|
||||
*/
|
||||
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* vim: set ts=4 et sw=4 tw=80: */
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
@ -295,13 +294,13 @@ nsGtkIMModule::PrepareToDestroyContext(GtkIMContext *aContext)
|
||||
static gpointer gtk_xim_context_class =
|
||||
g_type_class_ref(slaveType);
|
||||
// Mute unused variable warning:
|
||||
gtk_xim_context_class = gtk_xim_context_class;
|
||||
(void)gtk_xim_context_class;
|
||||
} else if (strcmp(im_type_name, "GtkIMContextIIIM") == 0) {
|
||||
// Add a reference to prevent the IIIM module from being unloaded
|
||||
static gpointer gtk_iiim_context_class =
|
||||
g_type_class_ref(slaveType);
|
||||
// Mute unused variable warning:
|
||||
gtk_iiim_context_class = gtk_iiim_context_class;
|
||||
(void)gtk_iiim_context_class;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user