summaryrefslogtreecommitdiff
blob: 41771d02d4eea67d7bffdcf7f451c71d1ab4873d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/libparted/labels/atari.c
+++ b/libparted/labels/atari.c
@@ -1957,7 +1957,7 @@
 	PED_ASSERT (sizeof (AtariRawPartition) == 12);
 	PED_ASSERT (sizeof (AtariRawTable) == 512);
 	/* GNU Libc doesn't support NULL instead of the locale name */
-	PED_ASSERT ((atr_c_locale = newlocale(LC_ALL_MASK, "C", NULL)) != NULL);
+	atr_c_locale = newlocale(LC_ALL_MASK, "C", NULL);
 
 	ped_disk_type_register (&atari_disk_type);
 }