X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fnumber-ms.c;h=48084d143eb540991da6643180b4e23853536676;hb=ef0ddf45c3081e799edcb4e95770186514b80cf1;hp=629d48af4d4403f2c6efea4a04fd784197574fef;hpb=28f473c41df72b278eaf9784c29c2b8fa2cbe06a;p=mono.git diff --git a/mono/metadata/number-ms.c b/mono/metadata/number-ms.c index 629d48af4d4..48084d143eb 100644 --- a/mono/metadata/number-ms.c +++ b/mono/metadata/number-ms.c @@ -5,6 +5,7 @@ * Ludovic Henry (ludovic@xamarin.com) * * Copyright 2015 Xamarin, Inc (http://www.xamarin.com) + * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ // @@ -195,8 +196,6 @@ number_to_double (MonoNumber *number, gdouble *value) guint16 *src; gint exp, remaining, total, count, scale, absscale, index; - g_assert (number->digits); - total = 0; src = number->digits; while (*src++) total ++;