Thread

Commits

  1. Remove unnecessary declaration of heapam_methods

  1. Remove unnecessary forward declaration for heapam_methods variable

    Japin Li <japinli@hotmail.com> — 2024-07-31T02:36:11Z

    Hi,
    
    I think the forward declaration for heapam_methods variable in heapam_handler.c
    is unnecessary, right?
    
    -- 
    Regrads,
    Japin Li
    
    
  2. Re: Remove unnecessary forward declaration for heapam_methods variable

    Michael Paquier <michael@paquier.xyz> — 2024-08-06T07:35:36Z

    On Wed, Jul 31, 2024 at 10:36:11AM +0800, Japin Li wrote:
    > I think the forward declaration for heapam_methods variable in heapam_handler.c
    > is unnecessary, right?
    
    True.  This can be removed because all the code paths using
    heapam_methods are after its declaration, so duplicating it makes
    little sense.  Thanks, applied.
    --
    Michael