Changeset 57f408e


Ignore:
Timestamp:
Dec 8, 2016, 1:19:50 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
3874269, 76e9498, 9def87a
Parents:
550a3385
Message:

added a terminating newline to asserts

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Common/Assert.cc

    r550a3385 r57f408e  
    1 // 
     1//
    22// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
    33//
    44// The contents of this file are covered under the licence agreement in the
    55// file "LICENCE" distributed with Cforall.
    6 // 
    7 // Assert.cc -- 
    8 // 
     6//
     7// Assert.cc --
     8//
    99// Author           : Peter A. Buhr
    1010// Created On       : Thu Aug 18 13:26:59 2016
     
    1212// Last Modified On : Fri Aug 19 17:07:08 2016
    1313// Update Count     : 10
    14 // 
     14//
    1515
    1616#include <assert.h>
     
    3535        va_start( args, fmt );
    3636        vfprintf( stderr, fmt, args );
     37        va_end( args );
     38        fprintf( stderr, "\n" );
    3739        abort();
    3840}
     
    4345// compile-command: "make install" //
    4446// End:  //
    45 
  • src/libcfa/assert.c

    r550a3385 r57f408e  
    3737                va_start( args, fmt );
    3838                vfprintf( stderr, fmt, args );
     39                va_end( args );
     40                fprintf( stderr, "\n" );
    3941                abort();
    4042        }
Note: See TracChangeset for help on using the changeset viewer.