From 6b653a1c822c2369fe962053572697013edbb420 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Wed, 1 Feb 2012 14:08:43 +0000
Subject: [PATCH] openid: Fix notice about unititialized variable.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3027 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/openid/www/consumer.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/openid/www/consumer.php b/modules/openid/www/consumer.php
index 0ea166ac6..889fbf59c 100644
--- a/modules/openid/www/consumer.php
+++ b/modules/openid/www/consumer.php
@@ -13,6 +13,7 @@ if ($authSource === NULL) {
 	throw new SimpleSAML_Error_BadRequest('Invalid AuthId \'' . $sourceId . '\' - not found.');
 }
 
+$error = NULL;
 try {
 	if (!empty($_GET['openid_url'])) {
 		$authSource->doAuth($state, (string)$_GET['openid_url']);
-- 
GitLab