Skip to content

Commit 535344b

Browse files
glandiumCuriousTommy
authored andcommitted
Remove unused broken clone function
The base class doesn't have a clone member function, so the code was never valid. As it was unused, that didn't cause problems until clang caught this earlier than instantiation in llvm/llvm-project#84050
1 parent 6cad930 commit 535344b

File tree

1 file changed

+0
-3
lines changed
  • cctools/ld64/src/ld/code-sign-blobs

1 file changed

+0
-3
lines changed

cctools/ld64/src/ld/code-sign-blobs/blob.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,6 @@ class Blob: public BlobCore {
181181
return NULL;
182182
}
183183

184-
BlobType *clone() const
185-
{ assert(validateBlob()); return specific(this->BlobCore::clone()); }
186-
187184
static BlobType *readBlob(int fd)
188185
{ return specific(BlobCore::readBlob(fd, _magic, sizeof(BlobType), 0), true); }
189186

0 commit comments

Comments
 (0)