diff --git a/[refs] b/[refs] index 3e73c264e160..98d5d188461e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8650ae32ef7045e763825dee6256dde7f331bb85 +refs/heads/master: fc4c73554c9d93b3e495f2f7acae1323b0d5db84 diff --git a/trunk/scripts/recordmcount.pl b/trunk/scripts/recordmcount.pl index 7109e2b5bc0a..16c5563b4129 100755 --- a/trunk/scripts/recordmcount.pl +++ b/trunk/scripts/recordmcount.pl @@ -414,7 +414,7 @@ sub update_funcs $read_function = 0; } else { # if we already have a function, and this is weak, skip it - if (!defined($ref_func) || !defined($weak{$text})) { + if (!defined($ref_func) && !defined($weak{$text})) { $ref_func = $text; } }