[MPlayer-cvslog] r30092 - trunk/vidix/pci_db2c.awk

diego subversion at mplayerhq.hu
Sun Dec 20 20:56:18 CET 2009


Author: diego
Date: Sun Dec 20 20:56:18 2009
New Revision: 30092

Log:
Remove unused debugging output about total number of printed lines.

Modified:
   trunk/vidix/pci_db2c.awk

Modified: trunk/vidix/pci_db2c.awk
==============================================================================
--- trunk/vidix/pci_db2c.awk	Sun Dec 20 20:36:30 2009	(r30091)
+++ trunk/vidix/pci_db2c.awk	Sun Dec 20 20:56:18 2009	(r30092)
@@ -36,7 +36,6 @@ BEGIN {
     ids_h_file     = "vidix/pci_ids.h"
     names_c_file   = "vidix/pci_names.c"
     vendors_h_file = "vidix/pci_vendors.h";
-    line = 0;
     # print out head lines
     print_head(vendors_h_file);
     print_head(ids_h_file);
@@ -60,8 +59,6 @@ BEGIN {
     first_pass = 1;
     init_name_db();
     while (getline < in_file) {
-        # count up lines
-        line++;
         n = split($0, field, "[\t]");
         name_field = kill_double_quoting(field[3])
         if (field[1] == "v" && length(field[3]) > 0 && field[4] == "0") {
@@ -101,7 +98,6 @@ BEGIN {
             printf("0x%s /*%s*/\n", substr(field[2], 9), name_field) > ids_h_file
         }
     }
-    #print "Total lines parsed:", line;
     print_guards_end(vendors_h_file);
     print_guards_end(ids_h_file);
     if (with_pci_db) print "};" > names_c_file


More information about the MPlayer-cvslog mailing list