Commit d4a9142a authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Removed extra variables in sdp_*_cmp() functions.

darcs-hash:20050911223033-65a35-301f92939b373490af02d45df733e27a65eec70d.gz
parent f6fb6192
......@@ -1216,7 +1216,7 @@ int sdp_origin_cmp(sdp_origin_t const *a, sdp_origin_t const *b)
*/
int sdp_connection_cmp(sdp_connection_t const *a, sdp_connection_t const *b)
{
int rv; int64_t rv64;
int rv;
if ((rv = (a != NULL) - (b != NULL)))
return rv;
......@@ -1237,7 +1237,7 @@ int sdp_connection_cmp(sdp_connection_t const *a, sdp_connection_t const *b)
/** Compare two bandwidth (b=) fields */
int sdp_bandwidth_cmp(sdp_bandwidth_t const *a, sdp_bandwidth_t const *b)
{
int rv; int64_t rv64;
int rv;
if ((rv = (a != NULL) - (b != NULL)))
return rv;
......@@ -1324,7 +1324,7 @@ int sdp_zone_cmp(sdp_zone_t const *a, sdp_zone_t const *b)
/** Compare two key (k=) fields */
int sdp_key_cmp(sdp_key_t const *a, sdp_key_t const *b)
{
int rv; int64_t rv64;
int rv;
if ((rv = (a != NULL) - (b != NULL)))
return rv;
......@@ -1341,7 +1341,7 @@ int sdp_key_cmp(sdp_key_t const *a, sdp_key_t const *b)
/** Compare two attribute (a=) fields */
int sdp_attribute_cmp(sdp_attribute_t const *a, sdp_attribute_t const *b)
{
int rv; int64_t rv64;
int rv;
if ((rv = (a != NULL) - (b != NULL)))
return rv;
......@@ -1360,7 +1360,6 @@ int sdp_media_cmp(sdp_media_t const *a, sdp_media_t const *b)
sdp_connection_t const *ac, *bc;
sdp_bandwidth_t const *ab, *bb;
sdp_attribute_t const *aa, *ba;
sdp_media_t const *am, *bm;
if ((rv = (a != NULL) - (b != NULL)))
return rv;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment