Kaydet (Commit) 6ad92406 authored tarafından Enrico Tröger's avatar Enrico Tröger

Fix compiler warnings about uninitialized variables.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2338 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 1bd9ee66
......@@ -25,6 +25,8 @@
Add missing accelerator for string "Toggle All Additional Widgets".
* plugins/htmlchars.c: Use a separate string for keybinding label to
avoid display of an underscore.
* src/callbacks.c, src/tools.c: Fix compiler warnings about
uninitialized variables.
2008-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
......@@ -398,7 +398,8 @@ on_paste1_activate (GtkMenuItem *menuitem,
else
if (IS_SCINTILLA(focusw) && idx >= 0)
{
#ifdef G_OS_WIN32
#if 0
//#ifdef G_OS_WIN32
/* insert the text manually for now, because the auto conversion of EOL characters by
* by Scintilla seems to make problems */
/** TODO this is probably obsolete now since we fixed PLAT_GTK_WIN32 in Scintilla */
......@@ -932,7 +933,7 @@ void on_toggle_case1_activate(GtkMenuItem *menuitem, gpointer user_data)
if (sci_can_copy(sci))
{
gchar *result = NULL;
gint cmd;
gint cmd = SCI_LOWERCASE;
gint text_len = sci_get_selected_text_length(sci);
gboolean rectsel = scintilla_send_message(sci, SCI_SELECTIONISRECTANGLE, 0, 0);
......
......@@ -361,7 +361,7 @@ static void cc_insert_custom_command_items(GtkMenu *me, GtkMenu *mp, gchar *labe
{
GtkWidget *item;
gint key_idx = -1;
KeyBinding *kb;
KeyBinding *kb = NULL;
switch (idx)
{
......
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