ICU-11452 Remove NULL check causing a compile warning. An alternate check is still needed.

X-SVN-Rev: 36896
This commit is contained in:
Andy Heninger 2014-12-19 02:34:24 +00:00
parent c356adbd4e
commit ea29e154b5

View file

@ -337,7 +337,7 @@ class SimpleDateFormatMutableNFs : public UMemory {
}
U_ASSERT(idx < UDAT_FIELD_COUNT);
nodes[idx].key = &nf;
nodes[idx].value = (&nf == NULL) ? NULL : (NumberFormat *) nf.clone();
nodes[idx].value = (NumberFormat *) nf.clone();
return nodes[idx].value;
}
private: