hso: fix error handling in PIN retry counts

This commit is contained in:
Aleksander Morgado
2012-08-30 23:47:30 +02:00
parent 8be5ecf186
commit 6c1e005b54
+1 -1
View File
@@ -130,7 +130,7 @@ load_unlock_retries_ready (MMBaseModem *self,
GSimpleAsyncResult *operation_result)
{
const gchar *response;
GError *error;
GError *error = NULL;
int pin1, puk1;
response = mm_base_modem_at_command_finish (MM_BASE_MODEM (self), res, &error);