Commit 44d74084 authored by David Lawrence's avatar David Lawrence
Browse files

Fixed IRIX warnings:

"./rdata/in_1/a_1.c", line 178: warning(1184): possible use of "=" where "=="
          was intended
"./rdata/in_1/a_1.c", line 179: warning(1184): possible use of "=" where "=="
          was intended

By chaning them to ==, because (a) we don't allow side-effects in REQUIRE()
and (b) it is clear from the rest of the code that it really was a test that
was desired and not an assignment.
parent 29aa703d
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* SOFTWARE. * SOFTWARE.
*/ */
/* $Id: a_1.c,v 1.31 2000/05/05 23:19:59 marka Exp $ */ /* $Id: a_1.c,v 1.32 2000/05/13 20:50:35 tale Exp $ */
/* Reviewed: Thu Mar 16 16:52:50 PST 2000 by bwelling */ /* Reviewed: Thu Mar 16 16:52:50 PST 2000 by bwelling */
...@@ -175,8 +175,8 @@ freestruct_in_a(void *source) { ...@@ -175,8 +175,8 @@ freestruct_in_a(void *source) {
dns_rdata_in_a_t *a = source; dns_rdata_in_a_t *a = source;
REQUIRE(source != NULL); REQUIRE(source != NULL);
REQUIRE(a->common.rdtype = 1); REQUIRE(a->common.rdtype == 1);
REQUIRE(a->common.rdclass = 1); REQUIRE(a->common.rdclass == 1);
} }
static inline isc_result_t static inline isc_result_t
......
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