clang: Initialize rc with zero.

In the error case we are assigning errno values
but for the success case we have not assigned
anything to the rc variable.
This commit is contained in:
Holger Hans Peter Freyther 2010-07-23 19:34:34 +08:00
parent 960e81e5bd
commit a97152b242
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ static int paging_cb_silent(unsigned int hooknum, unsigned int event,
{
struct gsm_subscriber_connection *conn = _conn;
struct scall_signal_data sigdata;
int rc;
int rc = 0;
if (hooknum != GSM_HOOK_RR_PAGING)
return -EINVAL;