X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2Ftest%2Fsmart_ptr.cpp;h=663d882a764c035f566416499dd1daced19718c5;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=38cbd2f40b7a258c0ea638b306627a79031491c2;hpb=36d01e1527fda602a9aed07d209eb34e6770bca8;p=synfig.git diff --git a/ETL/trunk/test/smart_ptr.cpp b/ETL/trunk/test/smart_ptr.cpp index 38cbd2f..663d882 100644 --- a/ETL/trunk/test/smart_ptr.cpp +++ b/ETL/trunk/test/smart_ptr.cpp @@ -100,7 +100,7 @@ int smart_ptr_basic_test(void) if(my_test_obj::instance_count!=0) { printf("FAILED!\n"); - printf(__FILE__":%d: on create/distroy, instance count=%d, should be zero.\n",__LINE__,my_test_obj::instance_count); + printf(__FILE__":%d: on create/destroy, instance count=%d, should be zero.\n",__LINE__,my_test_obj::instance_count); return 1; } @@ -121,7 +121,7 @@ int smart_ptr_basic_test(void) if(my_test_obj::instance_count!=0) { printf("FAILED!\n"); - printf(__FILE__":%d: on create/distroy, instance count=%d, should be zero.\n",__LINE__,my_test_obj::instance_count); + printf(__FILE__":%d: on create/destroy, instance count=%d, should be zero.\n",__LINE__,my_test_obj::instance_count); return 1; } @@ -247,7 +247,7 @@ int smart_ptr_inheritance_test(void) return 0; } -void test_func(etl::smart_ptr smart_ptr) +void test_func(etl::smart_ptr smart_ptr __attribute__ ((unused))) { }