summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/cc/v3/scanner.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/cc/v3/scanner.go')
-rw-r--r--vendor/modernc.org/cc/v3/scanner.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/vendor/modernc.org/cc/v3/scanner.go b/vendor/modernc.org/cc/v3/scanner.go
index 60ccef34b..6217d7db5 100644
--- a/vendor/modernc.org/cc/v3/scanner.go
+++ b/vendor/modernc.org/cc/v3/scanner.go
@@ -1178,10 +1178,6 @@ func (c *ppCache) getFile(ctx *context, name string, sys bool, doNotCache bool)
size := int(fi.Size())
if !filepath.IsAbs(name) { // Never cache relative paths
- if isTesting {
- panic(internalError())
- }
-
f, err := ctx.openFile(name, sys)
if err != nil {
return nil, err