warning fixed for lttvwindow and controlflow view
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / processlist.c
index 6f792f0e0826448a20418ea97595c60b6030e8df..a482927c7ae0230c71157cb6bf99ece3065e5530 100644 (file)
@@ -235,8 +235,8 @@ gint process_sort_func  ( GtkTreeModel *model,
 
 static guint process_list_hash_fct(gconstpointer key)
 {
-  guint pid = ((ProcessInfo*)key)->pid;
-  return ((pid>>8 ^ pid>>4 ^ pid>>2 ^ pid) ^ ((ProcessInfo*)key)->cpu);
+  guint pid = ((const ProcessInfo*)key)->pid;
+  return ((pid>>8 ^ pid>>4 ^ pid>>2 ^ pid) ^ ((const ProcessInfo*)key)->cpu);
 }
 
 /* If hash is good, should be different */
@@ -534,7 +534,6 @@ int processlist_remove( ProcessList *process_list,
       guint trace_num)
 {
   ProcessInfo process_info;
-  gint *path_indices;
   HashedProcessData *hashed_process_data;
   GtkTreeIter iter;
   
This page took 0.022664 seconds and 4 git commands to generate.