summaryrefslogtreecommitdiff
path: root/lib/phpqrcode/qrencode.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-07 01:34:49 -0700
committerAndrew Dolgov <[email protected]>2013-05-07 01:34:49 -0700
commita4fd183b5853867a9293dba438512d8400e6b65e (patch)
tree9776db47df16c7daa91f7a0e2c257031be75d33e /lib/phpqrcode/qrencode.php
parent75933cf00d4331fd27821af03cadbb2e7c83da79 (diff)
parent6f7798b6434f5ef6073447998c436901b507e3df (diff)
Merge pull request #180 from rlerdorf/master
Fix some bugs found by static analysis
Diffstat (limited to 'lib/phpqrcode/qrencode.php')
-rw-r--r--lib/phpqrcode/qrencode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/phpqrcode/qrencode.php b/lib/phpqrcode/qrencode.php
index 4b77a5bdd..5bdeaec20 100644
--- a/lib/phpqrcode/qrencode.php
+++ b/lib/phpqrcode/qrencode.php
@@ -129,7 +129,7 @@
//----------------------------------------------------------------------
public function getCode()
{
- $ret;
+ $ret = 0;
if($this->count < $this->dataLength) {
$row = $this->count % $this->blocks;