patch 8.1.2026: possibly using uninitialized memory

Problem:    Possibly using uninitialized memory.
Solution:   Check if "dict" is NULL. (closes #4925)
diff --git a/src/ops.c b/src/ops.c
index 7b1d9ed..5f0181b 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -7074,12 +7074,12 @@
 	}
 
 	bom_count = bomb_size();
-	if (bom_count > 0)
+	if (dict == NULL && bom_count > 0)
 	    vim_snprintf((char *)IObuff + STRLEN(IObuff), IOSIZE,
 				 _("(+%lld for BOM)"), (long_long_T)bom_count);
 	if (dict == NULL)
 	{
-	    /* Don't shorten this message, the user asked for it. */
+	    // Don't shorten this message, the user asked for it.
 	    p = p_shm;
 	    p_shm = (char_u *)"";
 	    msg((char *)IObuff);