* gettext-tools/src/write-po.c: Include verify.h.
(message_print_comment_filepos): Assume that this xasprintf call returns
non-NULL.
* gettext-tools/src/xg-message.c: Include verify.h.
(remember_a_message, remember_a_message_plural): Assume that this xasprintf call
returns non-NULL.
* gettext-tools/src/xgettext.c: Include verify.h.
(construct_header): Assume that this xasprintf call returns non-NULL.
#include "xmalloca.h"
#include "c-strstr.h"
#include "xvasprintf.h"
+#include "verify.h"
#include "po-xerror.h"
#include "gettext.h"
Solaris. Use the Solaris form here. */
str = xasprintf ("File: %s, line: %ld",
cp, (long) pp->line_number);
+ assume (str != NULL);
ostream_write_str (stream, str);
end_css_class (stream, class_reference);
ostream_write_str (stream, "\n");
#include "xalloc.h"
#include "xerror.h"
#include "xvasprintf.h"
+#include "verify.h"
#include "xgettext.h"
/* Construct the msgstr from the prefix and suffix, otherwise use the
empty string. */
if (msgstr_prefix)
- msgstr = xasprintf ("%s%s%s", msgstr_prefix, msgid, msgstr_suffix);
+ {
+ msgstr = xasprintf ("%s%s%s", msgstr_prefix, msgid, msgstr_suffix);
+ assume (msgstr != NULL);
+ }
else
msgstr = "";
msgstr1_malloc =
xasprintf ("%s%s%s", msgstr_prefix, msgid_plural, msgstr_suffix);
msgstr1 = msgstr1_malloc;
+ assume (msgstr1 != NULL);
}
else
msgstr1 = "";
#include "xvasprintf.h"
#include "xalloc.h"
#include "xmalloca.h"
+#include "verify.h"
#include "c-strstr.h"
#include "xerror.h"
#include "filename.h"
project_id_version,
msgid_bugs_address != NULL ? msgid_bugs_address : "",
timestring);
+ assume (msgstr != NULL);
free (timestring);
free (project_id_version);