mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8373924: Remove unreferenced ImageDecompressor::image_decompressor_close
Reviewed-by: alanb
This commit is contained in:
parent
bbae38e510
commit
67beb9cd81
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@ -85,10 +85,6 @@ void ImageDecompressor::image_decompressor_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void ImageDecompressor::image_decompressor_close() {
|
||||
delete[] _decompressors;
|
||||
}
|
||||
|
||||
/*
|
||||
* Locate decompressor.
|
||||
*/
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@ -105,6 +105,7 @@ private:
|
||||
protected:
|
||||
ImageDecompressor(const char* name) : _name(name) {
|
||||
}
|
||||
|
||||
virtual void decompress_resource(u1* data, u1* uncompressed,
|
||||
ResourceHeader* header, const ImageStrings* strings) = 0;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user