projects
/
koha_ffzg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a26bcf
)
quell warnings for SimpleSearch under 'use warnings'
author
Galen Charlton
<galen.charlton@liblime.com>
Thu, 7 Feb 2008 06:11:35 +0000
(
00:11
-0600)
committer
Joshua Ferraro
<jmf@liblime.com>
Fri, 8 Feb 2008 11:48:55 +0000
(
05:48
-0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
69868ab
..
43b9d46
100644
(file)
--- a/
C4/Search.pm
+++ b/
C4/Search.pm
@@
-255,7
+255,7
@@
sub SimpleSearch {
return ( $error, undef );
}
}
- my $hits;
+ my $hits
= 0
;
my $ev;
while ( ( my $i = ZOOM::event( \@zconns ) ) != 0 ) {
$ev = $zconns[ $i - 1 ]->last_event();
@@
-268,6
+268,7
@@
sub SimpleSearch {
push @results, $record;
}
}
+ $hits = 0;
}
return ( undef, \@results );
}