ld: remove stray debug fprintf
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 3 Feb 2021 10:03:01 +0000 (10:03 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 18 Feb 2021 10:36:39 +0000 (10:36 +0000)
In this commit:

  commit ace667e59aede65c400381f1cff704b61e8ccb0b
  Date:   Mon Jul 18 21:00:00 2016 +0100

      ld: Restore file offset after a plugin fails to claim a file

I inadvertently left in a stray fprintf call.  Removed in this commit.

ld/ChangeLog:

* testplugin.c (record_read_length): Remove debug fprintf.

ld/ChangeLog
ld/testplug.c

index 26fbe401893a26996f2945b8342ec37e69993d24..b7c7bbb156ae02de729600f2352d8a4ea1118440 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-18  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * testplugin.c (record_read_length): Remove debug fprintf.
+
 2021-02-14  Alan Modra  <amodra@gmail.com>
 
        * testsuite/ld-cdtest/cdtest.exp,
index 483f0f0edf94957c317f3b712c65a5b7ef31dc25..645004ef177691202c824aba5ae9694d7959067b 100644 (file)
@@ -176,10 +176,7 @@ record_read_length (const char *length)
   while (*tmp != '\0' && isdigit (*tmp))
     ++tmp;
   if (*tmp != '\0' || *length == '\0')
-    {
-      fprintf (stderr, "APB: Bad length string: %s\n", tmp);
-      return LDPS_ERR;
-    }
+    return LDPS_ERR;
 
   bytes_to_read_before_claim = atoi (length);
   return LDPS_OK;
This page took 0.031485 seconds and 4 git commands to generate.