mirror of
https://github.com/adtools/clib2.git
synced 2026-09-20 23:54:44 +00:00
- Fixed a warning for a possibly uninitialized variable in the new iob hook
code. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14838 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: stdlib_assertion_failure.c,v 1.6 2005-01-09 09:40:32 obarthel Exp $
|
||||
* $Id: stdlib_assertion_failure.c,v 1.7 2005-02-21 16:09:44 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@@ -93,10 +93,11 @@ __assertion_failure(
|
||||
|
||||
es.es_StructSize = sizeof(es);
|
||||
es.es_Title = (STRPTR)__program_name;
|
||||
es.es_TextFormat = (STRPTR)"Assertion of expression\n'%s'\nfailed in file '%s', line %ld";
|
||||
es.es_TextFormat = (STRPTR)"Assertion of expression\n\"%s\"\nfailed in file \"%s\", line %ld.";
|
||||
es.es_GadgetFormat = (STRPTR)"Sorry";
|
||||
|
||||
EasyRequest(NULL,&es,NULL,expression,file_name,line_number);
|
||||
EasyRequest(NULL,&es,NULL,
|
||||
expression,file_name,line_number);
|
||||
|
||||
#if defined(__amigaos4__)
|
||||
{
|
||||
@@ -113,7 +114,7 @@ __assertion_failure(
|
||||
fprintf(stderr,"[%s] ",__program_name);
|
||||
|
||||
fprintf(stderr,
|
||||
"%s:%d: failed assertion '%s'\n",
|
||||
"%s:%d: failed assertion \"%s\".\n",
|
||||
file_name,
|
||||
line_number,
|
||||
expression);
|
||||
|
||||
Reference in New Issue
Block a user