comparison libpurple/blist.c @ 27312:75acd9ad14be

This variable doesn't seem necessary for anything.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 02 Jul 2009 01:33:11 +0000
parents c59918579c3a
children cbee8aecc90a 6d26258e9f1d 2e6482e80a16
comparison
equal deleted inserted replaced
27311:47c0795eb4fd 27312:75acd9ad14be
1907 } 1907 }
1908 1908
1909 void purple_blist_merge_contact(PurpleContact *source, PurpleBlistNode *node) 1909 void purple_blist_merge_contact(PurpleContact *source, PurpleBlistNode *node)
1910 { 1910 {
1911 PurpleBlistNode *sourcenode = (PurpleBlistNode*)source; 1911 PurpleBlistNode *sourcenode = (PurpleBlistNode*)source;
1912 PurpleBlistNode *targetnode;
1913 PurpleBlistNode *prev, *cur, *next; 1912 PurpleBlistNode *prev, *cur, *next;
1914 PurpleContact *target; 1913 PurpleContact *target;
1915 1914
1916 g_return_if_fail(source != NULL); 1915 g_return_if_fail(source != NULL);
1917 g_return_if_fail(node != NULL); 1916 g_return_if_fail(node != NULL);
1927 } 1926 }
1928 1927
1929 if (source == target || !target) 1928 if (source == target || !target)
1930 return; 1929 return;
1931 1930
1932 targetnode = (PurpleBlistNode *)target;
1933 next = sourcenode->child; 1931 next = sourcenode->child;
1934 1932
1935 while (next) { 1933 while (next) {
1936 cur = next; 1934 cur = next;
1937 next = cur->next; 1935 next = cur->next;