longcheer: fix error handling in PIN retry counts

This commit is contained in:
Aleksander Morgado
2012-08-30 23:47:21 +02:00
parent b288b26718
commit 8be5ecf186

View File

@@ -252,7 +252,7 @@ load_unlock_retries_ready (MMBaseModem *self,
GSimpleAsyncResult *operation_result)
{
const gchar *response;
GError *error;
GError *error = NULL;
int pin1, puk1, pin2, puk2;
response = mm_base_modem_at_command_finish (MM_BASE_MODEM (self), res, &error);