[llvm-commits] CVS: llvm/test/Programs/MultiSource/McCat-08-main/object.c

Chris Lattner lattner at cs.uiuc.edu
Mon May 12 15:08:04 PDT 2003


Changes in directory llvm/test/Programs/MultiSource/McCat-08-main:

object.c updated: 1.1 -> 1.2

---
Log message:

Remove some undefined behavior


---
Diffs of the changes:

Index: llvm/test/Programs/MultiSource/McCat-08-main/object.c
diff -u llvm/test/Programs/MultiSource/McCat-08-main/object.c:1.1 llvm/test/Programs/MultiSource/McCat-08-main/object.c:1.2
--- llvm/test/Programs/MultiSource/McCat-08-main/object.c:1.1	Mon May 12 13:26:43 2003
+++ llvm/test/Programs/MultiSource/McCat-08-main/object.c	Mon May 12 15:06:55 2003
@@ -24,7 +24,6 @@
 {
   ObjPtr o=NULL;
   o = (ObjPtr) malloc(sizeof(object));
-  printf(o->Name);
   strcpy(o->Name,name);
   o->Color.R = 1;
   o->Color.G = 1;





More information about the llvm-commits mailing list